1772 Commits

Author SHA1 Message Date
Kate Lovett
770a9b25d9
Updated Interactive Scrollbars (#71664) 2020-12-11 13:48:05 -08:00
xubaolin
abcfdfb92c
fix some unit test cases(ink_well_test.dart) bug (#70447)
This change fixes some bugs in ink_well_test.dart.
2020-12-11 11:23:19 -08:00
Alex Li
135a8c22b1
Introduce MaxLengthEnforcement (#68086) 2020-12-10 07:31:59 +08:00
David Martos
56716f61a2
Chip theme label style is merged with the provided label style (#70687) 2020-12-09 11:28:05 -08:00
Michael Goderbauer
ed5229e57b
Remove isMaterialAppTheme property (#71861) 2020-12-08 09:18:07 -08:00
Pierre-Louis
a51b8e4309
Fix text direction logic for material icon variants (#71852) 2020-12-08 09:08:05 -08:00
Amit Patil
2cb652600c
showDialog assertion for non-null builder or child property (#71838) 2020-12-08 09:03:03 -08:00
Ayush Bherwani
995aa138cd
[ExpansionPanel] Exposes color property of MaterialSlice (#71657) 2020-12-07 19:48:02 -08:00
Per Classon
90f08769a3
[Material] Resolve overlay color for pressed/active/inactive states in selection controls (#71569) 2020-12-07 03:33:03 -08:00
xubaolin
a12c22b296
Set [InputDecoration.floatingLabelBehavior] default to null (#70683) 2020-12-04 11:28:03 -08:00
Hans Muller
d375a83910
Update AppBar and AppBar Theme to new Theme conventions and latest Material spec (#71184) 2020-12-04 09:12:31 -08:00
xubaolin
5f7f4f1aff
Reland "Improve the behavior of DropdownButton.disabledHint" (#71628)
* DropdownButton should display the value over hint and disabledHint if a DropdownButton.value is defined
2020-12-04 08:48:00 +08:00
xubaolin
8817c0d28c
RefreshIndicator can be shown when dragging from non-zero scroll position (#71303) 2020-12-03 13:28:04 -08:00
LongCatIsLooong
df28355b0c
Raw keyboard shortcuts & deletions should not read from _plainText (#71236) 2020-12-02 17:13:04 -08:00
Ayush Bherwani
ff9d9fc2b6
[MaterialSlice] adds property to customize slice color (#63466) 2020-12-02 07:43:02 -08:00
Shi-Hao Hong
25986102c1
Revert "Improve the behavior of DropdownButton.disabledHint (#70277)" (#71559)
This reverts commit 59cf0d2263b9c7a1b3069d4c11888696adb68745.
2020-12-02 20:36:44 +08:00
xubaolin
946a129137
Update [ToggleButtons] to support extend down/up vertically (#70670) 2020-12-02 03:58:04 -08:00
Amit Patil
5929f4f79b
updated defualt value of unselectedItemColor textTheme.caption.color to unselectedWidgetColor (#71314) 2020-12-01 11:43:05 -08:00
Pierre-Louis
a508d358ca
Use adaptive more icon for popup_menu (#70773) 2020-12-01 10:03:05 -08:00
xubaolin
59cf0d2263
Improve the behavior of DropdownButton.disabledHint (#70277) 2020-12-01 09:58:04 -08:00
Jonah Williams
e5000f6cea
[flutter_tools] Remove usage of --precompiled flag for web tests (#70977) 2020-12-01 09:54:01 -08:00
xubaolin
2b85eeed14
Let SnackBar inherit themeData from its ancestor (#70080) 2020-12-01 09:48:10 -08:00
Justin McCandless
3217906efb
Handle setting TextEditingController text to null (#68638) 2020-12-01 09:48:07 -08:00
Bikram Pandit
dc432d78db
Add detection of drawer open and close in Scaffold widget as a callback method. (#67249) 2020-12-01 09:43:06 -08:00
Pierre-Louis
183f0e797a
Update FAB elevation to match spec (#69312)
* Update floating_action_button.dart

* Fix default hover elevation

* revert letter spacing change

* add test

* Update floating_action_button.dart

* Update floating_action_button_test.dart
2020-11-26 19:12:28 +01:00
Hans Muller
89a7bf7791
Remove private OutlinedButton default outline geometry class (#70975) 2020-11-23 14:03:47 -08:00
Darren Austin
8737472af1
Exposed the YearPicker as a public API again to match the previous API. (#71061) 2020-11-23 12:18:18 -08:00
GodHyum
20b68c28a2
FloatingActionButton always keeps the same position when FloatingActionButtonLocation is top. (#64746) 2020-11-23 09:38:03 -08:00
Per Classon
226532b157
[Material] Add selection control themes (#70311) 2020-11-21 03:08:04 -08:00
Darren Austin
c5f8edd9ee
Material Date Picker code restructure (#70708)
Date Picker restructuring. Moved files out of 'pickers' and merged several of the non-public implementation files into date_picker.dart.
2020-11-20 15:20:09 -08:00
Per Classon
a9b4c1454b
[Material] Decoration for DataTable is not used inside PaginatedDataTable (#70603) 2020-11-20 09:13:05 -08:00
Greg Spencer
de884f1afe
Remove the nullOk parameter from Navigator.of and add Navigator.maybeOf (#70726)
Adds Navigator.maybeOf to replace calling Navigator.of(context, nullOk: true), and removes the nullOk parameter. Also changes Navigator.of to return a non-nullable value, and removes many (120!) instances of the ! operator, reducing the possible places where a null dereference could occur.
2020-11-20 09:10:46 -08:00
Kate Lovett
f4a0511e8b
Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' (#70893) 2020-11-19 17:48:04 -08:00
Chinmoy
d2f06f6f05
Added enableFeedback property PopupMenuButton (#69890) 2020-11-19 10:13:05 -08:00
Jonah Williams
cfb63356c3
[flutter_tools] use frontend_server for web test compilation (#70714) 2020-11-18 14:55:26 -08:00
nero
af616a0bca
[Tabs] Fix tab indicator flies off issue (#65463) 2020-11-18 10:13:04 -08:00
Pierre-Louis
2f17d4e017
Adaptive icons (#69119)
* refactor update_icons

* fix trailing space

* address feedback

* add platform adaptive icons

* fix merge conflict

* Update dartdoc

* Address feedback

* Specify types

* Add tests

* fix indentation

* Remove trailing space

* Remove isCupertino static bool
2020-11-18 16:04:38 +01:00
MH Johnson
5df335ad0e
[Material] Add method to get dark mode overlay color without needing BuildContext (#70669) 2020-11-17 16:13:03 -08:00
Jim Graham
e803b13f01
Revert "Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' (#70401)" (#70675)
This reverts commit 9b56241eef3a81bfe4e1ff72cc453a7693861944.
2020-11-16 22:55:59 -08:00
Kate Lovett
9b56241eef
Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' (#70401) 2020-11-16 14:47:04 -06:00
tiya
adc8a42b38
Add bottom to search bar (#68794) 2020-11-16 12:07:20 -05:00
Kate Lovett
477a4241ea
Revert "Actually consume top padding in bottomsheet if scrollcontrolled (#66257)" (#70392) 2020-11-13 12:18:03 -08:00
Todd Volkert
f8d2f58b52
Ignore DismissIntent when barrier is not dismissible (#70156) 2020-11-12 11:45:32 -08:00
Hans Muller
c6d4a6ef5c
Update OutlinedButton default outline geometry to be backwards compatible (#70393) 2020-11-12 10:36:39 -08:00
Zachary Anderson
3fce16c329
Revert "Default Keyboard ScrollActions with PrimaryScrollController (#69795)" (#70391)
This reverts commit 1f0df54553bab852026a2801ce3921a2ba493fab.
2020-11-12 09:49:12 -08:00
Kate Lovett
1f0df54553
Default Keyboard ScrollActions with PrimaryScrollController (#69795) 2020-11-11 15:29:05 -08:00
MH Johnson
50dc84bc17
[Material] Add support for customizing active + disabled state color for selection controls. (#68831)
* Add new MaterialStateProperty param to selection controls
2020-11-11 12:39:20 -05:00
Hans Muller
191d0aa4b6
Revert "AppBar draws its defaults from theme.colorScheme (#69251)" (#70212) 2020-11-10 13:54:04 -08:00
Darren Austin
fb63371589
Fix for the ListTile horizontalTitleGap calculation introduced with PR #64222. (#70149) 2020-11-09 18:13:07 -08:00
xubaolin
935185ac45
Fix the PopupMenuButton offset bug (#69383) 2020-11-09 13:54:02 -08:00