Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
7816 commits
Select commit Hold shift + click to select a range
220adb1
Make sure that a TabPageSelectorIndicator doesn't crash in 0x0 enviro…
ahmedsameha1 Nov 11, 2025
5cce098
Make sure that a Tab doesn't crash in 0x0 environment (#178118)
ahmedsameha1 Nov 11, 2025
5cb58d6
Reland "Refactor OverlayPortal semantics (#173005)" (#178095)
QuncCccccc Nov 11, 2025
590b77c
Make sure that a TextFormField doesn't crash in 0x0 environment (#178…
ahmedsameha1 Nov 11, 2025
32252de
Make sure that a RefreshIndicator doesn't crash in 0x0 environment (#…
ahmedsameha1 Nov 11, 2025
41bba7f
Feat: Add a11y for loading indicators (#165173)
rkishan516 Nov 11, 2025
f4d2412
Listen to text spacing overrides on the web (#178081)
Renzo-Olivares Nov 11, 2025
0e1eb57
Reverts "Feat: Add a11y for loading indicators (#165173)" (#178316)
auto-submit[bot] Nov 11, 2025
3305b31
Make sure that a DefaultTabController doesn't crash in 0x0 environmen…
ahmedsameha1 Nov 11, 2025
118bce8
Replace deprecated `withOpacity` in `reorderable_list_view.reorderabl…
AbdeMohlbi Nov 11, 2025
40e6fa8
Add focus support for CupertinoActionSheetAction #166398 (#167119)
O-Hannonen Nov 12, 2025
a91ec25
Make sure that a TabBarView doesn't crash in 0x0 environment (#178202)
ahmedsameha1 Nov 12, 2025
3b69310
Add DropdownMenuFormField.decorationBuilder (#178640)
bleroux Nov 17, 2025
e0066ec
Fix DropdownMenu width when decorationBuilder provides label (#178465)
bleroux Nov 17, 2025
225d88a
Fix deprecation warning in some API examples using RadioListTile (#17…
Nov 18, 2025
c8ff579
Add framework-side hitTestBehavior support for Semantics widget and a…
flutter-zl Nov 18, 2025
f587189
Refactor SnackBar behavior selection example to use `RadioGroup` (#17…
AbdeMohlbi Nov 18, 2025
1e5cb8b
Reverts "Add framework-side hitTestBehavior support for Semantics wid…
auto-submit[bot] Nov 18, 2025
2f60188
Make sure that a TabPageSelector doesn't crash in 0x0 environment (#1…
ahmedsameha1 Nov 19, 2025
1462bc5
Make sure that a ReorderableListView doesn't crash in 0x0 environment…
ahmedsameha1 Nov 19, 2025
15d00fa
Update `_CircularProgressIndicatorState` to use `transform` directly …
AbdeMohlbi Nov 19, 2025
32e3776
Make sure that a ToggleButtons doesn't crash in 0x0 environment (#178…
ahmedsameha1 Nov 20, 2025
8cc793a
Make sure that a TabBar doesn't crash in 0x0 environment (#178201)
ahmedsameha1 Nov 21, 2025
3dca19d
Make sure that a CupertinoSpellCheckSuggestionsToolbar doesn't crash …
ahmedsameha1 Nov 21, 2025
b74283f
Make sure that a TextSelectionToolbarTextButton doesn't crash in 0x0 …
ahmedsameha1 Nov 21, 2025
0b6cdff
Manually roll material_color_utilities (#170000)
kevmoo Nov 21, 2025
b520d9c
Make sure that a CupertinoContextMenu doesn't crash in 0x0 environmen…
ahmedsameha1 Nov 22, 2025
5280dbb
Make sure that a CupertinoTabBar doesn't crash in 0x0 environment (#1…
ahmedsameha1 Nov 22, 2025
5690c1d
Make sure that a CupertinoLinearActivityIndicator doesn't crash in 0x…
ahmedsameha1 Nov 22, 2025
c53da93
Make sure that a TimePickerDialog doesn't crash in 0x0 environment (#…
ahmedsameha1 Nov 22, 2025
3758fbb
Make sure that a UserAccountsDrawerHeader doesn't crash in 0x0 enviro…
ahmedsameha1 Nov 22, 2025
984087a
Remove deprecated `activeColor` in `switch.0.dart` example (#178293)
AbdeMohlbi Nov 22, 2025
67e921c
Make sure that a Stepper doesn't crash in 0x0 environment (#178068)
ahmedsameha1 Nov 22, 2025
5f75190
Make sure that a SearchAnchor doesn't crash in 0x0 environment (#177749)
ahmedsameha1 Nov 22, 2025
ae9a071
Refactor `_isLabel` method in `stepper.dart` to use `any` for better …
AbdeMohlbi Nov 24, 2025
3bb8dcd
Add framework-side hitTestBehavior support to Semantics (#178817)
flutter-zl Nov 25, 2025
a42a2b9
Reverts "Add framework-side hitTestBehavior support to Semantics (#17…
auto-submit[bot] Nov 25, 2025
db683fd
Modernize framework lints (#179089)
Piinks Nov 26, 2025
98b2149
Add flutter_lints to samples (#179091)
loic-sharma Nov 26, 2025
9c6d60a
Make sure that a CupertinoActivityIndicator doesn't crash in 0x0 envi…
ahmedsameha1 Nov 26, 2025
2a1baf5
Update some comments to reflect theme normalization (#179013)
bleroux Dec 1, 2025
78805c4
Unfocus search anchor bar when the view is closed (#178910)
Dec 2, 2025
160caa7
Fix crash when text editing value changes between scrolls (#179163)
Renzo-Olivares Dec 2, 2025
22a99a9
Migrate samples and docs to RadioGroup (#179158)
loic-sharma Dec 3, 2025
7e4480b
Update some BottomNavigationBar comments to reflect theme normalizati…
bleroux Dec 4, 2025
443f967
Add DropdownMenu.selectOnly (#179189)
bleroux Dec 4, 2025
39d186f
Reimplemented StretchingOverscrollIndicator with Simulation ported fr…
MTtankkeo Dec 5, 2025
2e1f820
Update several comments related to theme normalization (#179457)
bleroux Dec 5, 2025
1b792fa
Make sure that a CupertinoScrollbar doesn't crash in 0x0 environment …
ahmedsameha1 Dec 5, 2025
27338e4
Make sure that a CupertinoTimerPicker doesn't crash in 0x0 environmen…
ahmedsameha1 Dec 5, 2025
577e93d
Make sure that a CupertinoButton doesn't crash in 0x0 environment (#1…
ahmedsameha1 Dec 5, 2025
78cfa8b
Make sure that a CupertinoApp doesn't crash in 0x0 environment (#178610)
ahmedsameha1 Dec 5, 2025
e68580f
Make sure that a CupertinoCheckbox doesn't crash in 0x0 environment (…
ahmedsameha1 Dec 5, 2025
3543659
Replace dropdown button with dropdown menu (#179095)
ahmedsameha1 Dec 5, 2025
3c20ab6
Make sure that CupertinoNavigationBar doesn't crash in 0x0 environmen…
ahmedsameha1 Dec 5, 2025
908e6de
Make sure that a CupertinoListTileChevron doesn't crash in 0x0 enviro…
ahmedsameha1 Dec 5, 2025
aace60a
Make sure that a CupertinoAlertDialog doesn't crash in 0x0 environmen…
ahmedsameha1 Dec 5, 2025
eabd09a
Make sure that a CupertinoPicker doesn't crash in 0x0 environment (#1…
ahmedsameha1 Dec 5, 2025
335f046
Make sure that a CupertinoSearchTextField doesn't crash in 0x0 enviro…
ahmedsameha1 Dec 5, 2025
101a4c7
Make sure that a CupertinoRadio doesn't crash in 0x0 environment (#17…
ahmedsameha1 Dec 5, 2025
b70b77f
Make sure that a CupertinoContextMenuAction doesn't crash in 0x0 envi…
ahmedsameha1 Dec 5, 2025
05e9e4b
Make sure that a CupertinoFormRow doesn't crash in 0x0 environment (#…
ahmedsameha1 Dec 5, 2025
dadb996
Make sure that a CupertinoPopupSurface doesn't crash in 0x0 environme…
ahmedsameha1 Dec 8, 2025
b2625af
Make sure that a CupertinoFocusHalo doesn't crash in 0x0 environment …
ahmedsameha1 Dec 8, 2025
672bc0f
Make sure that a CupertinoListTile doesn't crash in 0x0 environment (…
ahmedsameha1 Dec 8, 2025
624e570
Make sure that a CupertinoExpansionTile doesn't crash in 0x0 environm…
ahmedsameha1 Dec 9, 2025
371f0fe
Make sure that a CupertinoPickerDefaultSelectionOverlay doesn't crash…
ahmedsameha1 Dec 9, 2025
e70e09c
Make sure that a CupertinoActionSheetAction doesn't crash in 0x0 envi…
ahmedsameha1 Dec 9, 2025
0b656f4
Relax assertion for adding semantics locale (#178140)
chunhtai Dec 9, 2025
7cd9295
Make sure that a CupertinoPageScaffold doesn't crash in 0x0 environme…
ahmedsameha1 Dec 10, 2025
3125262
Make sure that a CupertinoSlider doesn't crash in 0x0 environment (#1…
ahmedsameha1 Dec 10, 2025
4f2fb6c
Make sure that a CupertinoSegmentedControl doesn't crash in 0x0 envir…
ahmedsameha1 Dec 10, 2025
3e7424a
Make sure that a Tooltip doesn't crash in 0x0 environment (#178461)
ahmedsameha1 Dec 10, 2025
34e293d
Make sure that a CupertinoMagnifier doesn't crash in 0x0 environment …
ahmedsameha1 Dec 10, 2025
12519ad
Make sure that a CupertinoFormSection doesn't crash in 0x0 environmen…
ahmedsameha1 Dec 10, 2025
193cb82
Make sure that a CupertinoListSection doesn't crash in 0x0 environmen…
ahmedsameha1 Dec 10, 2025
046626d
Make sure that a CupertinoDialogAction doesn't crash in 0x0 environme…
ahmedsameha1 Dec 10, 2025
892df30
Reland: Add framework-side hitTestBehavior support to Semantics (#178…
flutter-zl Dec 10, 2025
9952a9f
Add `Adwaita Sans` as a font fallback on Linux (#179144)
adil192 Dec 15, 2025
e1224f2
Feat: Add top gap for cupertino sheet (#171348)
rkishan516 Dec 16, 2025
71d00c5
Update some comments related to theme normalization (#179624)
bleroux Dec 16, 2025
c3be8ec
ListTile fix MinIntrinsicHeight calculation (#179515)
RamonFarizel Dec 16, 2025
b8ce49a
Make sure that a CupertinoSwitch doesn't crash in 0x0 environment (#1…
ahmedsameha1 Dec 17, 2025
31a8e34
Make sure that a CupertinoTextField doesn't crash in 0x0 environment …
ahmedsameha1 Dec 17, 2025
73ffe6d
Make sure that a CupertinoTabView doesn't crash in 0x0 environment (#…
ahmedsameha1 Dec 17, 2025
6090f54
Make sure that a CupertinoTextFormFieldRow doesn't crash in 0x0 envir…
ahmedsameha1 Dec 17, 2025
ff58f43
Adds property passthrough for CheckboxListTile, SwitchListTile and Ra…
Guldem Dec 17, 2025
3cdb2de
Update more comments related to theme normalization (#179682)
bleroux Dec 17, 2025
d382a0a
Add FloatingActionButtonTheme (#179736)
bleroux Dec 17, 2025
f884dc4
Update the Material `IconAlignment` sample (#179159)
loic-sharma Dec 17, 2025
dd4ba89
Clamps input value for progress indicator (#179898)
chunhtai Dec 17, 2025
31e6cfa
Improve assertion messages in Tab widget for better clarity (#178295)
JeelChandegra Dec 17, 2025
b246f0c
Improve the documentation of `Card` (#178834)
dkwingsmt Dec 17, 2025
b6915af
Add Slider.showValueIndicator property. (#179661)
ksokolovskyi Dec 18, 2025
4959ece
Remove an obsolete TODO in DataTable (#180033)
dkwingsmt Dec 18, 2025
18d4dbd
fix: Enable mouse drag for RefreshIndicator.noSpinner example (#180066)
Franklyn-R-Silva Dec 18, 2025
775fc44
Make sure that a CupertinoTextSelectionToolbarButton doesn't crash in…
ahmedsameha1 Dec 18, 2025
140b3d4
Remove unnecessary RadioGroup migration TODOs (#180105)
loic-sharma Dec 20, 2025
6107b60
Add SnackBarTheme (#180001)
bleroux Dec 23, 2025
ce10704
docs: clarify dropdown menu text clearing (#179676)
kazbeksultanov Dec 23, 2025
b47cdde
Enhance documentation for sortable column behavior (#180011)
AbdeMohlbi Dec 24, 2025
5bc7f1b
fix: exclude semantics for disabled dates (#178981)
rkishan516 Dec 24, 2025
ce02d7a
[Framework] iOS style blurring and `ImageFilterConfig` (#175473)
dkwingsmt Dec 30, 2025
ebcdee1
Some cleanup of cross library test imports (#177029)
justinmc Jan 2, 2026
c38d892
Relands "Feat: Add a11y for loading indicators (#165173)" (#178402)
chunhtai Jan 2, 2026
8d2db0a
Add accessibilityAnnouncement matcher (#180058)
zemanux Jan 5, 2026
bf5fdc1
Replace semantic announcements in expansion tile for Android (#179917)
hannah-hyj Jan 6, 2026
698fe71
Add DropdownMenuFormField.errorBuilder (#179345)
bleroux Jan 6, 2026
9a43fee
Fix DropdownMenuEntry.style not resolved when entry is highlighted (#…
bleroux Jan 7, 2026
155af6d
Fix TabBar.image does not render at initialIndex for the first time (…
Jan 7, 2026
97d62bc
New isSemantics and deprecate containsSemantics (#180538)
zemanux Jan 7, 2026
9760e8b
Fix Drawer.child docstring to say ListView instead of SliverList (#18…
nathannewyen Jan 7, 2026
3746709
Raw tooltip with smaller API surface that exposes tooltip widget (#17…
victorsanni Jan 7, 2026
d0bc69d
Add drag handle to CupertinoSheet (#179962)
MitchellGoodwin Jan 7, 2026
282dcb4
Do not dispose CupertinoSheetTransition animation on update and throw…
MitchellGoodwin Jan 8, 2026
c95e2b4
Fix typo in dropdown_menu.dart (#180172)
Koichi5 Jan 9, 2026
5e107f3
[A11y ] Add `clearSemantics`in table (#180665)
hannah-hyj Jan 9, 2026
d141268
Make sure that a CupertinoTabScaffold doesn't crash in 0x0 environmen…
ahmedsameha1 Jan 10, 2026
cb4cc6f
Add API sample and docs for Expansible widget (#180273)
gowsikraja Jan 12, 2026
cc00b68
Add TabBar API example for scroll notification integration (#180728)
Jan 13, 2026
c6c3f74
Fix RangeSlider dragged cursor handling. (#179988)
ksokolovskyi Jan 14, 2026
7a4b8f1
Add RouteSettings to showCupertinoSheet (#178643)
jonmountjoy Jan 15, 2026
d31b7ff
Implement superellipse support for CupertinoFocusHalo (#180724)
O-Hannonen Jan 15, 2026
5faf8fd
clean up usages of resetXyz for TestFlutterView (#180840)
navaronbracke Jan 17, 2026
9bd74be
Fix vertical SegmentedButton not filling available width under bounde…
Mairramer Jan 17, 2026
5c01e63
fix: clip ink highlights in NavigationDrawer when footer is present (…
ikramhasan Jan 17, 2026
0fb9831
Add leadingIndex to CarouselController and onItemChanged to CarouselV…
Mairramer Jan 20, 2026
3da9da9
Use null-aware elements in cupertino/nav_bar.dart (#181237)
brahim-guaali Jan 22, 2026
a9b9cfe
[Material] update hourFormat to use Dart 3 switch expression (#181041)
Enderjua Jan 22, 2026
a8056d2
Fix remove material import textfield (#181254)
kazbeksultanov Jan 22, 2026
6a68f23
Fixes Typo in codebase (#181256)
srivats22 Jan 22, 2026
c840fef
Revert DropdownMenu non-nullable breaking change (#181074)
Gustl22 Jan 23, 2026
e3e06bd
Make topGap not required for CupertinoSheetTransition (#181269)
MitchellGoodwin Jan 23, 2026
eb413c3
Add bottom navigation bar item semantics label (#180577)
Lilian-C Jan 23, 2026
676fba4
Reset TextFormField to initial value after state change (#181199)
Mairramer Jan 23, 2026
04ad484
Remove unnecessary Material import from dialog_test.dart (#181249)
kazbeksultanov Jan 23, 2026
75e68f2
CupertinoSheetRoute with scrolling and dragging (#177337)
MitchellGoodwin Jan 23, 2026
69a4a3a
[Material] modernize Typography._withPlatform with Dart 3 switch expr…
Enderjua Jan 23, 2026
ff9dd20
Add `alignment` to `SizeTransition` (#177895)
IvoneDjaja Jan 26, 2026
1ceca4b
Fix Range Slider issue where indescrete ranges lead to out of range r…
chris-prenissl Jan 27, 2026
e8e22ab
[Material] modernize time picker components with Dart 3 switch expres…
Enderjua Jan 27, 2026
cb750b5
feat: add RoundedSuperellipseInputBorder (#177220)
rkishan516 Jan 28, 2026
d5d5437
Fix `todayBorder` todayBorder color is incorrectly overridden by `tod…
huycozy Jan 28, 2026
6e2486a
test: Improve DropdownMenuFormField tests (#181369)
Gustl22 Jan 28, 2026
7907c03
Send statusBarTouch events via dedicated messages (#179643)
LongCatIsLooong Jan 28, 2026
d14569d
[material/menu_anchor.dart] Add animations to MenuAnchor. (#176494)
davidhicks980 Jan 29, 2026
d8ab1fc
Add isDark, isLight, and isSystem getters to ThemeMode (#181475)
Turskyi Jan 29, 2026
3fda1a4
Deprecate onReorder callback (#178242)
navaronbracke Jan 29, 2026
c6271aa
Add `TestTextField` and migrate tests (#180494)
Renzo-Olivares Jan 29, 2026
c215c27
180162 fix radio list tile and switch list tile accept widget states …
AnishTiwari5077 Jan 29, 2026
bfbf000
Use null-aware spread in material/app.dart (#181586)
brahim-guaali Feb 2, 2026
7dea1ea
Use null-aware spread in cupertino/app.dart (#181585)
brahim-guaali Feb 2, 2026
2a5cba2
Use null-aware elements in material/dialog.dart (#181244)
brahim-guaali Feb 2, 2026
5b3464b
Use null-aware elements in cupertino/list_tile.dart (#181243)
brahim-guaali Feb 2, 2026
dae47d4
Remove material from slivers_appbar_floating_pinned_test.dart + slive…
navaronbracke Feb 3, 2026
5dd8e24
Reduce reliance on Material in page_transitions_test.dart (#181467)
navaronbracke Feb 3, 2026
f8c4b1d
Remove material from scrollable_helpers_test.dart (#181460)
navaronbracke Feb 3, 2026
0f67d7b
Remove unnecessary Material import from cupertino/slider_test.dart (#…
nathannewyen Feb 3, 2026
e04a2be
feat: Pass parameters from DropdownMenuFormField to DropDownMenu (#18…
Gustl22 Feb 4, 2026
1ef241e
[Material] Remove Material import from backdrop_filter_test.dart widg…
kazbeksultanov Feb 4, 2026
c8ddb33
[cupertino.dart] Implement CupertinoMenuAnchor and CupertinoMenuItem …
davidhicks980 Feb 6, 2026
bfdd7d4
Reverts "[cupertino.dart] Implement CupertinoMenuAnchor and Cupertino…
auto-submit[bot] Feb 6, 2026
e185a4f
fix: OutlineInputBorder not respecting BorderSide stroke alignment (#…
ikramhasan Feb 9, 2026
848087c
Introduce ScrollCacheExtent and also fixes unbound shrinkwrap cache e…
chunhtai Feb 9, 2026
2f393b8
refactor: migrate CupertinoPageTransitionsBuilder to cupertino folder…
rkishan516 Feb 10, 2026
c6d6825
[cupertino/dialog.dart] CupertinoPopupSurface: remove bounded paramet…
davidhicks980 Feb 11, 2026
91b0b79
Revert "Send statusBarTouch events via dedicated messages (#179643)" …
vashworth Feb 11, 2026
1346ca8
Enhance the Stepper widget by adding customizable header and content …
safwanidrees Feb 11, 2026
373b626
Fix misleading error message for color/decoration conflict (relands #…
dkwingsmt Feb 12, 2026
6345b7c
[Material] modernize legacy switch statements to expressions across m…
Enderjua Feb 12, 2026
050a9eb
Preparation to add contentTextStyle flag to SimpleDialog. (#182200)
chingjun Feb 13, 2026
8c2da4c
Fix cross imports for all Cupertino tests (#181634)
navaronbracke Feb 13, 2026
ec4f187
Add await to tester.pump callsites (#182398)
victorsanni Feb 13, 2026
1737a17
Reverts "Fix cross imports for all Cupertino tests (#181634)" (#182404)
auto-submit[bot] Feb 14, 2026
35ab0f9
[Reland] Cupertino cross imports (#182416)
navaronbracke Feb 17, 2026
f2cfe82
Add contentTextStyle support to SimpleDialog (#178824)
777genius Feb 17, 2026
c5600f5
[a11y] RangeSlider mouse interaction should change keyboard focus (#…
hannah-hyj Feb 17, 2026
8daabed
Clean up cross imports in single_child_scroll_view_test.dart, decorat…
navaronbracke Feb 18, 2026
cb5bcbf
Allow TabBar to receive a TabBarScrollController (#180389)
navaronbracke Feb 18, 2026
c5f5c64
[web] Pass form validation errors to screen readers via aria-descript…
flutter-zl Feb 18, 2026
9dbf039
Fixing ExpansionTile expandedAlignment not Accepts AlignmentGeometry …
devnoaman Feb 18, 2026
166adcf
Fix(Material): DateRangePicker ignores DatePickerTheme.dayShape (#181…
akhil-ge0rge Feb 18, 2026
b61e154
Move SelectionArea web test from widgets to material folder (#181951)
gbolahan507 Feb 19, 2026
4fa969e
Handle#6537 first grouped tests (#182077)
ahmedsameha1 Feb 19, 2026
71bbbe8
Add RawTooltip.ignorePointer (#182527)
victorsanni Feb 19, 2026
20d3787
Remove Material import from scroll_view_test.dart (#181281)
navaronbracke Feb 19, 2026
7b62514
Reland #179643, only scroll hit-testable primary scroll views on stat…
LongCatIsLooong Feb 19, 2026
1ffc20f
Add cupertino docimports for CupertinoPageTransitionsBuilder and fix …
victorsanni Feb 20, 2026
f5e8088
Shortcircuit if Tooltip message and richMessage are empty (#182524)
victorsanni Feb 21, 2026
bd179d7
Carousel: Migration from Scrollable+Viewport to CustomScrollView (#18…
Mairramer Feb 24, 2026
63a4cb8
Reland Standardize on Test* widgets in *_tester.dart files (#182632)
justinmc Feb 24, 2026
c49c252
Use AnimationStyle curve and reverseCurve in ModalBottomSheet animati…
Mairramer Feb 25, 2026
1f3349d
Add WidgetStatesController support to ExpansionTile (#181238)
iamvikashtiwari Feb 25, 2026
5a3a93a
Factor out unnecessary `assert`s (#182042)
nate-thegrate Feb 25, 2026
207f7f7
Updates MenuAnchor to respect software keyboard (#180975)
patrickBillingsley Feb 25, 2026
a78ead1
Remove some instances of useMaterial3: true (#182944)
AbdeMohlbi Feb 26, 2026
2f8d000
`SizedBox.square()` (#182731)
nate-thegrate Feb 27, 2026
6f7371e
[A11y] in calendar date picker, remove SemanticsService.sendAnnouncem…
hannah-hyj Feb 28, 2026
3bc7d90
Add warning when there is a widget with color between `Material` and …
QuncCccccc Mar 3, 2026
781e4b4
Eliminate rebuilds for Scaffold FAB animation (#182331)
nate-thegrate Mar 4, 2026
cba6114
Add await to flutter_test callsites (#182983)
victorsanni Mar 5, 2026
c5be90e
Windowing implementation of `showDialog` that uses a native desktop w…
mattkae Mar 5, 2026
2454f25
Add fallbackColor for PredictiveBackPageTransitionBuilder and Predict…
victorsanni Mar 5, 2026
fc5ad0d
refactor: remove material from widget_inspector_test, sliver_cross_ax…
rkishan516 Mar 6, 2026
2475fb6
Add displayCornerRadii support to predictive back transitions. (#181326)
ksokolovskyi Mar 6, 2026
889baf1
Remove material from scrollable_test.dart (#181429)
navaronbracke Mar 10, 2026
700ac6d
[material/menu_anchor.dart] Ensure positioned menus always begin anim…
davidhicks980 Mar 10, 2026
d9f954d
Fix reselection issue after the text is cleared (#183545)
QuncCccccc Mar 13, 2026
15df250
Add await to more flutter/flutter callsites (#183413)
victorsanni Mar 13, 2026
a7df57e
Add awaits to flutter/test callsites (#183487)
victorsanni Mar 13, 2026
2f63e89
Add mainAxisAlignment to NavigationRail (#183514)
mbcorona Mar 17, 2026
6f29179
Framework: Improve DropdownButton selectedItemBuilder assertion (#183…
mbcorona Mar 17, 2026
2cdcb46
Add a Clarification for the docs of suggestionsBuilder of SearchAncho…
ahmedsameha1 Mar 17, 2026
e07bcc0
Fixes animation glitch into bottom sheet (#183303)
Mairramer Mar 17, 2026
6688960
[Slider] Refactor test "Value indicator appears when it should" (#183…
dkwingsmt Mar 18, 2026
8c57ae8
Fix Semantics expanded state not updating in PopupMenuButton and Drop…
AhmedLSayed9 Mar 18, 2026
6cb7c7a
Replace BorderRadius.circular with const BorderRadius.all and update …
BrainLUX Mar 19, 2026
feffc7f
Add assert for mutually exclusive errorBuilder and errorText (#183901)
muradhossin Mar 22, 2026
41afef7
Add scrollPadding property to DropdownMenu (#183109)
ishaquehassan Mar 23, 2026
7b43a6b
[Slider] Remove value indicator painter when animation is dismissed (…
dkwingsmt Mar 24, 2026
96d14a5
Refactor layout dimensions (#184066)
Piinks Mar 24, 2026
21226f2
[Dot shorthands] Migrate examples/api/lib/material (#183963)
loic-sharma Mar 26, 2026
8755343
feat: add infinite carousel support (#175710)
rkishan516 Mar 27, 2026
687e427
For ShapeBorder instances with preferPaintInterior=true, use paintInt…
b-luk Mar 28, 2026
3e5e59c
Reland "Fix Slider semantics node size" with some changes (#184168)
hannah-hyj Mar 30, 2026
ec0559c
Update TabBar documentation to clarify indicatorWeight behavior (#184…
saurabh-mirajkar Mar 30, 2026
5ba0d66
Even more awaits (#184042)
victorsanni Mar 31, 2026
ff6fc59
Revert "Even more awaits (#184042)" (#184429)
gaaclarke Mar 31, 2026
294590d
Add bottom safe area padding to licenses package license page (#182425)
sysint64 Apr 1, 2026
4e84ad0
[ios] Add opt-in inline prediction text input support (#183650)
nikb7 Apr 1, 2026
e90aa14
Replace usages of `MediaQuery.of(context).property` with `MediaQuery.…
AbdeMohlbi Apr 1, 2026
e0f3fb2
Remove sliver_test_utils cross-import from sliver_app_bar_test (#184193)
Sanaullah49 Apr 1, 2026
3363934
Reland "Even more awaits" (#184467)
victorsanni Apr 2, 2026
a3e19f4
Fix line breaks being lost when copying after selection gesture in Se…
Renzo-Olivares Apr 2, 2026
c0d4f48
Remove live_text_utils cross-imports from material and cupertino test…
xfce0 Apr 3, 2026
b8eb0bc
[Dot shorthands] Migrate examples/api/lib/cupertino (#183964)
loic-sharma Apr 3, 2026
9c1d81f
[A11y] Allow percentage strings like "50%" as `SemanticsValue` for `P…
hannah-hyj Apr 6, 2026
7e7724a
[widgets/raw_menu_anchor.dart] Always call onClose and onCloseRequest…
davidhicks980 Apr 7, 2026
d651e1b
[cupertino.dart] Implement CupertinoMenuAnchor and CupertinoMenuItem …
davidhicks980 Apr 8, 2026
d5a2dcc
Remove editable_text_utils cross-imports from material and cupertino …
xfce0 Apr 8, 2026
b81ad6a
Add more error handling to unawaited callsites (#184526)
victorsanni Apr 8, 2026
0f740c7
Remove navigator_utils cross-imports from cupertino tests (#184282)
xfce0 Apr 8, 2026
688b19d
[Dot shorthands] Migrate examples/api/test (#183966)
loic-sharma Apr 8, 2026
764705e
Remove last material dependency from cupertino tests (#184781)
Piinks Apr 9, 2026
9988fd7
Merge remote-tracking branch 'source-origin/master' into decoupling-m…
justinmc Apr 22, 2026
a25bfe1
Move the code from the imported location to its final home.
justinmc Apr 22, 2026
5cb811e
Material exports
justinmc Apr 30, 2026
50936fa
Cupertino imports.
justinmc Apr 30, 2026
3f78922
Set up the examples package.
justinmc Apr 30, 2026
3b0d323
All example tests pass
justinmc Apr 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/cupertino.dart';

/// Flutter code sample for [CupertinoActivityIndicator].

void main() => runApp(const CupertinoIndicatorApp());

class CupertinoIndicatorApp extends StatelessWidget {
const CupertinoIndicatorApp({super.key});

@override
Widget build(BuildContext context) {
return const CupertinoApp(
theme: CupertinoThemeData(brightness: .light),
home: CupertinoIndicatorExample(),
);
}
}

class CupertinoIndicatorExample extends StatelessWidget {
const CupertinoIndicatorExample({super.key});

@override
Widget build(BuildContext context) {
return const CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar(
middle: Text('CupertinoActivityIndicator Sample'),
),
child: Center(
child: Column(
mainAxisAlignment: .spaceEvenly,
children: <Widget>[
Column(
mainAxisAlignment: .center,
children: <Widget>[
// Cupertino activity indicator with default properties.
CupertinoActivityIndicator(),
SizedBox(height: 10),
Text('Default'),
],
),
Column(
mainAxisAlignment: .center,
children: <Widget>[
// Cupertino activity indicator with custom radius and color.
CupertinoActivityIndicator(
radius: 20.0,
color: CupertinoColors.activeBlue,
),
SizedBox(height: 10),
Text(
'radius: 20.0\ncolor: CupertinoColors.activeBlue',
textAlign: .center,
),
],
),
Column(
mainAxisAlignment: .center,
children: <Widget>[
// Cupertino activity indicator with custom radius and disabled
// animation.
CupertinoActivityIndicator(radius: 20.0, animating: false),
SizedBox(height: 10),
Text('radius: 20.0\nanimating: false', textAlign: .center),
],
),
],
),
),
);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/cupertino.dart';

/// Flutter code sample for [CupertinoLinearActivityIndicator].

void main() => runApp(const CupertinoLinearActivityIndicatorApp());

class CupertinoLinearActivityIndicatorApp extends StatelessWidget {
const CupertinoLinearActivityIndicatorApp({super.key});

@override
Widget build(BuildContext context) {
return const CupertinoApp(
theme: CupertinoThemeData(brightness: .light),
home: CupertinoIndicatorExample(),
);
}
}

class CupertinoIndicatorExample extends StatelessWidget {
const CupertinoIndicatorExample({super.key});

@override
Widget build(BuildContext context) {
return const CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar(
middle: Text('CupertinoLinearActivityIndicator Sample'),
),
child: Padding(
padding: .all(8.0),
child: Column(
mainAxisAlignment: .spaceEvenly,
children: <Widget>[
Column(
mainAxisAlignment: .center,
children: <Widget>[
CupertinoLinearActivityIndicator(progress: 0),
SizedBox(height: 10),
Text('Progress: 0'),
],
),
Column(
mainAxisAlignment: .center,
children: <Widget>[
CupertinoLinearActivityIndicator(progress: 0.2),
SizedBox(height: 10),
Text('Progress: 0.2', textAlign: .center),
],
),
Column(
mainAxisAlignment: .center,
children: <Widget>[
CupertinoLinearActivityIndicator(progress: 0.4, height: 10),
SizedBox(height: 10),
Text('Height: 10', textAlign: .center),
],
),
Column(
mainAxisAlignment: .center,
children: <Widget>[
CupertinoLinearActivityIndicator(
progress: 0.6,
color: CupertinoColors.activeGreen,
),
SizedBox(height: 10),
Text('Color: green', textAlign: .center),
],
),
],
),
),
);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/cupertino.dart';

/// Flutter code sample for [CupertinoTabBar].

void main() => runApp(const CupertinoTabBarApp());

class CupertinoTabBarApp extends StatelessWidget {
const CupertinoTabBarApp({super.key});

@override
Widget build(BuildContext context) {
return const CupertinoApp(
theme: CupertinoThemeData(brightness: .light),
home: CupertinoTabBarExample(),
);
}
}

class CupertinoTabBarExample extends StatelessWidget {
const CupertinoTabBarExample({super.key});

@override
Widget build(BuildContext context) {
return CupertinoTabScaffold(
tabBar: CupertinoTabBar(
items: const <BottomNavigationBarItem>[
BottomNavigationBarItem(
icon: Icon(CupertinoIcons.star_fill),
label: 'Favorites',
),
BottomNavigationBarItem(
icon: Icon(CupertinoIcons.clock_solid),
label: 'Recents',
),
BottomNavigationBarItem(
icon: Icon(CupertinoIcons.person_alt_circle_fill),
label: 'Contacts',
),
BottomNavigationBarItem(
icon: Icon(CupertinoIcons.circle_grid_3x3_fill),
label: 'Keypad',
),
],
),
tabBuilder: (BuildContext context, int index) {
return CupertinoTabView(
builder: (BuildContext context) {
return Center(child: Text('Content of tab $index'));
},
);
},
);
}
}
54 changes: 54 additions & 0 deletions packages/cupertino_ui/examples/lib/button/cupertino_button.0.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/cupertino.dart';

/// Flutter code sample for [CupertinoButton].

void main() => runApp(const CupertinoButtonApp());

class CupertinoButtonApp extends StatelessWidget {
const CupertinoButtonApp({super.key});

@override
Widget build(BuildContext context) {
return const CupertinoApp(
theme: CupertinoThemeData(brightness: .light),
home: CupertinoButtonExample(),
);
}
}

class CupertinoButtonExample extends StatelessWidget {
const CupertinoButtonExample({super.key});

@override
Widget build(BuildContext context) {
return CupertinoPageScaffold(
navigationBar: const CupertinoNavigationBar(
middle: Text('CupertinoButton Sample'),
),
child: Center(
child: Column(
mainAxisSize: .min,
children: <Widget>[
const CupertinoButton(onPressed: null, child: Text('Disabled')),
const SizedBox(height: 30),
const CupertinoButton.filled(
onPressed: null,
child: Text('Disabled'),
),
const SizedBox(height: 30),
CupertinoButton(onPressed: () {}, child: const Text('Enabled')),
const SizedBox(height: 30),
CupertinoButton.filled(
onPressed: () {},
child: const Text('Enabled'),
),
],
),
),
);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/cupertino.dart';

/// Flutter code sample for [CupertinoCheckbox].

void main() => runApp(const CupertinoCheckboxApp());

class CupertinoCheckboxApp extends StatelessWidget {
const CupertinoCheckboxApp({super.key});

@override
Widget build(BuildContext context) {
return const CupertinoApp(
theme: CupertinoThemeData(brightness: .light),
home: CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar(
middle: Text('CupertinoCheckbox Example'),
),
child: SafeArea(child: CupertinoCheckboxExample()),
),
);
}
}

class CupertinoCheckboxExample extends StatefulWidget {
const CupertinoCheckboxExample({super.key});

@override
State<CupertinoCheckboxExample> createState() =>
_CupertinoCheckboxExampleState();
}

class _CupertinoCheckboxExampleState extends State<CupertinoCheckboxExample> {
bool? isChecked = true;

@override
Widget build(BuildContext context) {
return CupertinoCheckbox(
checkColor: CupertinoColors.white,
// Set tristate to true to make the checkbox display a null value
// in addition to the default true and false values.
tristate: true,
value: isChecked,
onChanged: (bool? value) {
setState(() {
isChecked = value;
});
},
);
}
}
Loading
Loading