1751 Commits

Author SHA1 Message Date
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
Hans Muller
a8f9d4cebf
AppBar draws its defaults from theme.colorScheme (#69251) 2020-11-09 10:59:39 -08:00
Hans Muller
a35aa3fdeb
Add new ListTile parameters to ListTileTheme (#69982) 2020-11-06 16:39:02 -08:00
Playhi
8cb2665118
Allow modification of ListTile's horizontalTitleGap, minVerticalPadding, minLeadingWidth (#64222)
Allow modification of ListTile's horizontalTitleGap, minVerticalPadding, minLeadingWidth
2020-11-06 00:02:19 -08:00
Darren Austin
4c1d015e9e
Reland "Updated SearchDelegate to follow custom InputDecorationTheme" (#69653) 2020-11-05 23:54:01 -08:00
Chinmoy
0afea99b26
added enableFeedback property to ListTile (#69088) 2020-11-05 08:43:02 -08:00
Lazy Llama
300e1df737
Reduce refresh indicator pull-down distance and update related tests (#69783)
Co-authored-by: altherat <contact@altherat.com>
2020-11-05 12:34:10 +08:00
LongCatIsLooong
319722997c
fix typo in computeMaxIntrinsicWidth implementation (#69812) 2020-11-04 16:19:04 -08:00
Madhur Maurya
595df47f2b
Tab bar improvements (#63683)
* indicatorPadding now does not get ignored

* Removing unnecessary comments

* Throw FlutterError on indicatorPadding

* Tests for indicatorPadding

* Migrate test to NNBD

* Tests Renamed
2020-11-04 11:20:27 -08:00
Hans Muller
b73cae17a4
ButtonStyle style side should default to shape.side (#69713) 2020-11-04 11:14:05 -08:00
Per Classon
2f611f1477
Make header optional in PaginatedDataTable (#69610) 2020-11-04 10:39:06 -08:00
Aneesh Rao
96a78c0883
Enable customization of TabBar's InkWell (#69457) 2020-11-04 10:34:05 -08:00
xubaolin
9b564e9a8a
Make TabBar indicator color automatic adjustment optional (#68171) 2020-11-04 10:29:05 -08:00
Hans Muller
23198d4eef
Revert TextField.adaptive (#69631) 2020-11-03 12:28:41 -08:00
Ayush Bherwani
4019956fc8
[ExpansionTile] adds collapsedBackgroundColor property (#69575) 2020-11-02 22:58:04 -08:00
Hans Muller
23cc1401f0
Updated the button.icon factory constructors for NNBD (#69596) 2020-11-02 15:45:38 -08:00
LongCatIsLooong
7d539043ba
dont mess with user supplied list (#69594) 2020-11-02 13:43:02 -08:00
Pieter van Loon
b7a92f05d2
Actually consume top padding in bottomsheet if scrollcontrolled (#66257) 2020-11-02 13:18:06 -08:00
Michael Goderbauer
0490fd75aa
Make Theme.of non-nullable (#68922) 2020-11-02 09:20:42 -08:00
Michael Goderbauer
3aba15f95d
move to onTapUp (#69422) 2020-11-02 09:18:58 -08:00
Yash Johri
50970cd777
[RadioListTile] Adds shape, tileColor and selectedTileColor to RadioListTile (#69399) 2020-11-02 03:53:05 -08:00
Greg Spencer
fa3d2e2116
Remove nullOk parameter from Focus.of, FocusTraversalOrder.of, and FocusTraversalGroup.of (#68917)
This removes the nullOk parameter from Focus.of, FocusTraversalOrder.of and FocusTraversalGroup.of, and creates maybeOf equivalents for each. The of methods now return non-nullable values, and the maybeOf equivalents return nullable values.
2020-10-29 14:02:09 -07:00