2306 Commits

Author SHA1 Message Date
Alexandre Ardhuin
7ceed97302
replace simple empty Container with w & h with SizedBox (#54394)
* replace simple Container(w & h) with SizedBox

* address review comments

* address review comments
2020-04-10 22:32:40 +02:00
William Oprandi
756a1f0301
Pass showCheckboxColumn parameter to DataTable (#53655) 2020-04-10 10:39:47 -07:00
Greg Spencer
d64955ab49
Add visualDensity and focus support to ListTile (#53888) 2020-04-10 10:20:02 -07:00
Greg Spencer
0f68b46f6a
Revise Action API (#42940)
This updates the Action API in accordance with the design doc for the changes: flutter.dev/go/actions-and-shortcuts-design-revision

Fixes #53276
2020-04-07 16:49:39 -07:00
EricEnslen
cccfe96e72
Allow ListTiles to be autofocused (#54229)
Adds an "autofocus" param to ListTile and its Checkbox, Radio and Switch variants, and passes the given value through to the wrapped InkWell, Switch, etc.

This is important for scenarios like a settings screen, where the first interactable element on a page may be a SwitchListTile, for example.
2020-04-07 15:39:44 -07:00
Jose Alba
3441d6cbe7
Slider rebase work (#53916)
* [Slider] Rebase.

* disabled thumb color with alphaBlend of colorScheme surface

* test remove alphablend

* Change rectangular track to how it used to be

* Chaned to adaptive slider

* blank lines

Co-authored-by: Will Larche <larche@google.com>
2020-04-07 17:10:18 -04:00
LongCatIsLooong
4af5fe2c37
Reland "iOS UITextInput autocorrection prompt (#45354)" (#54119) 2020-04-07 12:11:14 -07:00
Alexandre Ardhuin
f5a9902577
enable avoid_equals_and_hash_code_on_mutable_classes (#52507) 2020-04-06 13:36:01 -07:00
Darren Austin
d35ade4a6c
Added 'barrierColor' and 'useSafeArea' parameters to showDialog. (#54110) 2020-04-06 11:26:01 -07:00
Greg Spencer
a8b3d1b74f
Add toggleable attribute to Radio (#53846)
This adds a new toggleable attribute to the Radio widget. This allows a radio group to be set back to an indeterminate state if the selected radio button is selected again.

Fixes #53791
2020-04-02 15:40:37 -07:00
Michel Feinstein
1c8b81fae1
Fixed the "touch target size" broken docs link. (#53793) 2020-04-02 10:41:02 -07:00
impure
191f86ea05
Added ability to change dropdown colour manually (#52982) 2020-04-02 10:21:04 -07:00
Darren Austin
f2acfbca82
Material Date Picker should honor DialogTheme shape, and elevation. (#53713)
* Date Picker should honor DialogTheme shape, and elevation.
2020-04-01 00:45:45 -07:00
Greg Spencer
2a649b16e2
Add an adaptive visual density static function, and add it to… (#51921)
Adds a VisualDensity.adaptivePlatformDensity static function that returns different values for visual density based on the defaultTargetPlatform. Returns compact for desktop platforms, and a default visual density for other platforms.
2020-03-31 16:16:25 -07:00
Jose Alba
d14a301e41
Revert "[Slider] Rebase. (#52663)" (#53698)
This reverts commit e71cf1cdbeebab9081d09daa73d4d7642f165b9d.
2020-03-31 16:14:22 -07:00
Jose Alba
e71cf1cdbe
[Slider] Rebase. (#52663) 2020-03-31 10:56:01 -07:00
Shi-Hao Hong
85e5b210b4
Implement DropdownMenuItem.onTap (#53368)
* Implement DropdownMenuItem.onTap
2020-03-30 13:48:40 -07:00
Darren Austin
c7a6e300dd
Fixed a bug with the month grid showing the wrong month after selecting a date. (#53594) 2020-03-30 13:45:33 -07:00
Ayush Bherwani
08ee37e1c1
[RefreshIndicator] adds strokeWidth parameter to RefreshIndicator (#53344) 2020-03-30 12:56:06 -07:00
Shi-Hao Hong
57d7946b2f
Implement DropdownButton and DropdownButtonFormField onTap callback (#53105) 2020-03-30 12:46:02 -07:00
Darren Austin
4dd9136397
Reset autovalidate in the text input form field of the Date Picker when switching back to input mode from calendar mode. (#53434) 2020-03-27 15:06:01 -07:00
Onat Çipli
ac3b77bdac
Scrollbar display always (#50752) 2020-03-27 14:51:03 -07:00
Dan Field
ed67c47982
Add error callbacks to other image resolving code (#53329) 2020-03-26 13:36:03 -07:00
Anthony
0d111bc91a
[Material] Create a Navigation Rail component and theme (#49574) 2020-03-26 13:31:02 -07:00
Darren Austin
142b526f1b
Material Date Picker redesign (#50546)
Date Picker UI redesign
2020-03-24 18:44:57 -07:00
Dan Field
25ef78e234
Revert "Revert "Fix RefreshIndicator performance issue (#47667)" (#53149)" (#53206) 2020-03-24 17:56:01 -07:00
Jussi Lahdenniemi
600a3a74ea
Fix to DrawerController: Call the callback when drawer opened/closed with a fling. (#52593) 2020-03-24 15:56:03 -07:00
Dan Field
f3d95cd734
Revert "Fix RefreshIndicator performance issue (#47667)" (#53149)
This reverts commit 602ac0bc10c9783c4bb94ba8583ee2765a3cc313.
2020-03-24 09:55:47 -07:00
Christian Mürtz
602ac0bc10
Fix RefreshIndicator performance issue (#47667) 2020-03-23 10:51:02 -07:00
LongCatIsLooong
87cbddddd8
Let cupertino & material switches move to the right state after dragging (#51606) 2020-03-20 15:56:01 -07:00
rami-a
e2610a450c
[Material] Allow Appbar to exclude header semantics (#52894) 2020-03-19 15:06:02 -07:00
Ayush Bherwani
6c2a29dd37
[Api Docs] Improves contentPadding documentation in InputDecoration (#52807) 2020-03-19 09:26:02 -07:00
Michel Feinstein
34b7030c1e
Fixed a typo. (#52562) 2020-03-13 19:11:04 -07:00
Ayush Bherwani
60b9d15495
[RaisedButton] Added padding property to RaisedButton.icon (#52393) 2020-03-13 17:21:02 -07:00
Tong Mu
c82c399eb7
[DataTable] Hide arrow padding when not sorting (#51667)
* Change onSort and add tests

* Add doc

* Regression test

* Remove if (true)

* Make test clearer

* Clearer comment
2020-03-12 18:20:15 -07:00
Justin McCandless
4841a7ed6f
Text Selection Overflow (Android) (#49391)
Adds an overflow menu to the text selection menu on Android when the items overflow.
2020-03-11 13:36:10 -07:00
Greg Spencer
210f4d8313
Convert Diagnosticable to a mixin (#51495)
This converts Diagnosticable to be a mixin instead of an abstract class, so that it can be used to add diagnostics to classes which already have a base class.

It leaves in place the DiagnosticableMixin mixin, since there are some plugins that are still using it, and removing it would mean that those plugins wouldn't work with master branch Flutter anymore. DiagnosticableMixin will be removed once this mixin version of Diagnosticable makes its way to the stable branch.
2020-03-11 10:03:05 -07:00
Gary Qian
ac6ea52b37
Revert "Add missing features to DefaultTextStyleTransition and AnimatedDefaultTextStyle (#51517)" (#52352) 2020-03-10 14:11:03 -07:00
Per Classon
1546f41ec1
Add width constraints for FlexibleSpaceBar.title in its expanded state, so that overflow of long titles can be handled (#51335) 2020-03-09 12:06:01 -07:00
Masayuki Ono
2294d75bfa
Fix englishLike2018 bodyText (#49756) 2020-03-06 07:28:38 -08:00
Hans Muller
a68f96ae3f
Fixed a typo in a FAB build debugPrint message (#52034) 2020-03-05 16:08:44 -08:00
Alexandre Ardhuin
c2ae654ddf
enable avoid_single_cascade_in_expression_statements (#51944) 2020-03-05 08:03:26 +01:00
Flutter GitHub Bot
cccbf1f200
Custom onPressed behavior for CloseButton widget (#51925) 2020-03-04 20:36:02 -08:00
Shi-Hao Hong
ad44b05ca4
Revert "AlertDialog widget scrollable by default (#49848)" (#51886)
This reverts commit 28f2c96a8a63ca75700b307692b3bc691d6d010c.
2020-03-03 14:03:05 -08:00
Shi-Hao Hong
28f2c96a8a
AlertDialog widget scrollable by default (#49848) 2020-03-03 13:39:01 -08:00
Shi-Hao Hong
d2c734a36f
Simple repeating word fixes (#51871) 2020-03-03 11:13:07 -08:00
Greg Spencer
1ba4f1f509
Add Linux and Windows target platforms (#51519)
This PR adds the linux and windows target platform enum values, along with automatically setting the defaultTargetPlatform to the appropriate value on those platforms.

Fixes #31366
2020-03-03 04:38:04 -08:00
Gary Qian
b4cf20380e
Add missing features to DefaultTextStyleTransition and AnimatedDefaultTextStyle (#51517) 2020-03-02 16:24:02 -08:00
枯藤老树
3551a51df4
Update flexible_space_bar.dart (#51314) 2020-03-02 16:19:06 -08:00
Pierre-Louis
ec64f93fdd
Material Bottom Sheet Reveal/Dismiss animation uses a curved animation (#51122) 2020-03-02 09:49:03 -08:00