1796 Commits

Author SHA1 Message Date
xubaolin
32dc1b7d00
Add [pointerCount] property to Scale Gesture Details (#73474) 2021-01-11 19:14:04 -08:00
Pedro Massango
0b5905070c
Fix "RefreshIndicator.color didn't update at runtime" (#73566)
* update dependencies when widget configuration changes
2021-01-11 12:57:40 -08:00
Hans Muller
6f002abcd7
Revert "Prevent text from overflowing in OutlineButton and OutlinedButton label. (#70872)" (#73715) 2021-01-11 10:19:04 -08:00
Hans Muller
9a43df5142
Deprecated obsolete Material classes: FlatButton, RaisedButton, OutlineButton (#73352) 2021-01-08 15:44:47 -08:00
Pierre-Louis
1bd89a9617
Revert "Add material icons golden test (#73361)" (#73521)
This reverts commit d3a2db22e79cd26869e51c2ed5c634e091aab608.
2021-01-07 18:58:12 -08:00
Shi-Hao Hong
f6a499135b
[State Restoration] Scaffold.drawer and Scaffold.endDrawer (#72788) 2021-01-07 16:29:03 -08:00
Pierre-Louis
d3a2db22e7
Add material icons golden test (#73361)
* Create icons golden test

* Update icons_test.dart

* Update icons_test.dart

* Update icons_test.dart

* change test name

* Add ability to load material icon font for golden tests

* formatting

* Skip test for browser

* Add end of file newline
2021-01-07 21:59:37 +01:00
chunhtai
8f07fccee8
app bar leading back button should not change if the route is popped (#71944) 2021-01-06 10:59:04 -08:00
chunhtai
89acdb030c
fix dropdown menu to position based on nearest navigator (#73381) 2021-01-06 10:39:02 -08:00
Chinmoy
7a0e3a309f
Prevent text from overflowing in OutlineButton and OutlinedButton label. (#70872) 2021-01-06 10:16:12 -08:00
Amit Patil
119e0ea149
circleAvatar: foreground Image uses background Image as a fall-back (#71783)
* foregroundImage property added

* fixed documentaion nits

* test for fallback to background image on foreground image failover

* golden test
2021-01-05 10:29:10 -08:00
Mahdi
8f5d0371af
TextField's hintText should support TextDirection. (#69534)
* TextField's hintText should support TextDirection.

There are many cases for RTL languages that the TextField's label is RTL but the input direction is LTR (e.g. email address). Therefore we may need to change the directionality of the hintText.

* Update input_decorator.dart

* Adds hintTextDirection tests.

* React to reviewer's comments.

* Fixes two more analysis issues.
2020-12-25 23:37:36 -08:00
xubaolin
e0417b5e0f
RefreshIndicator should not be shown when overscroll occurs due to inertia (#72132) 2020-12-23 18:29:02 -08:00
Kate Lovett
27f29e75ca
Fix scrollbar config for hover events (#72833) 2020-12-23 15:29:02 -08:00
Kate Lovett
3abb9e5008
Remove deprecated showDialog.child (#72532) 2020-12-23 15:09:01 -08:00
Ritvij Kumar Sharma
2e8faec09a
Fixed issue for SliverAppBar collapsedHeight (#72300) 2020-12-22 16:49:04 -08:00
Kate Lovett
26ccbd9ff6
Update Scrollbar behavior for mobile devices (#72531) 2020-12-17 15:34:02 -08:00
Hans Muller
dc80d499f3
Added backwardsCompatibility flag to AppBarTheme (#72472) 2020-12-17 10:39:03 -08:00
Yash Johri
04c104cce6
[BottomNavigationBar] Adds more control to ToolTip (#71079) 2020-12-16 09:33:03 -08:00
Yash Johri
7ce8f4abae
Accessibility: repeated label on BottomNavigationBar fixed (#71587) 2020-12-16 09:23:02 -08:00
Kate Lovett
b145a53395
Remove Scrollbar.isAlwaysShown assert based on Scrollbar.controller (#72316) 2020-12-15 10:53:04 -08:00
Justin McCandless
7d2e3a1859
Material Text Selection Toolbar improvements (#69428)
Exposes the ability to create custom Material text selection toolbar menus, and cleans up the code around these menus.
2020-12-15 08:59:08 -08:00
Greg Spencer
0351c74aeb
Make web buttons respond to enter key (#72162) 2020-12-14 18:58:03 -08:00
Justin McCandless
fb3dba74b7
Correct text selection pivot points (#71756) 2020-12-14 11:18:05 -08:00
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