2289 Commits

Author SHA1 Message Date
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
Jonah Williams
213027dd82
[Perf/codesize] Reland: Reduce constraint member reads during layout
This reverts commit 2132a0c7a3d2a107190238ca0c5570baa0467bb7.
2020-02-28 10:02:57 -08:00
Justin McCandless
7011d30876
AppBar Height Fix (#48761) 2020-02-28 09:51:02 -08:00
Jason Simmons
ae027c194f
Use strut box heights to calculate selection rectangles in order to ensure that they remain within visible bounds (#50354) 2020-02-28 09:36:03 -08:00
Darren Austin
fef2d6ccd6
Pass RouteSettings into all callers of showGeneralDialog. (#51525) 2020-02-27 15:11:01 -08:00
Ferhat
2132a0c7a3
Revert "[Perf/codesize] Reduce constraint member reads during layout (#51418)" (#51489)
This reverts commit 69080e07e6bb178332bf546cf83054a85b91b2fe.
2020-02-26 15:51:30 -08:00
Greg Spencer
9e744c5710
Implement VisualDensity for text fields. (#51438)
This implements VisualDensity changes for text fields*. By default, the layout of the text field does not change.

If the ThemeData.visualDensity is set to a value other than zero, then the density of the UI will increase or decrease. See the VisualDensity docs for more information.

(*In reality, the changes are on the InputDecorator class, not on the text field.)

I also fixed a problem that I think I found with _Decoration where it doesn't compare isDense or isCollapsed as part of its operator==.
2020-02-26 13:38:28 -08:00
Ferhat
69080e07e6
[Perf/codesize] Reduce constraint member reads during layout (#51418) 2020-02-25 13:50:21 -08:00
Dmitry Ratushnyy
a70e4aec93
Material DataTable: added support of setting table row border thickness (#49692) 2020-02-24 09:46:03 -08:00
Albertus Angga Raharja
aad941e3fa
Avoid using FlutterError.fromParts when possible (#43696)
This PR is a follow up of https://github.com/flutter/flutter/pull/42640
Some changes of that PR includes redundant changes using FlutterError.fromParts constructor even though it's not necessary.

Some minor changes are:

- Remove one unnecessary todo
- Fix indent consistencies
2020-02-20 07:51:53 -08:00
Per Classon
74e564da2d
Add parameter to Scaffold so its possible to disable open Drawer drag gesture (#50925) 2020-02-19 18:51:04 -08:00
Greg Spencer
1793108ba1
Add additional focus samples. (#50846) 2020-02-19 18:41:03 -08:00
Darren Austin
7a83c6fcd4
Expose insetPadding and clipBehavior in Dialog and AlertDialog. (#50775) 2020-02-19 18:26:04 -08:00
Shi-Hao Hong
89ff794ac8
InputDecorator prefixIconConstraints and suffixIconConstraints (#50058) 2020-02-18 11:31:04 -08:00
creativecreatorormaybenot
08c835913e
Expose showButtonMenu of PopupMenuButtonState (#50670) 2020-02-14 14:51:19 -08:00
Taufiq Rahman
d1185337cc
Feature: Allow minLines in SelectableText (#50750)
* Feature: allow minLines in SelectableText
2020-02-14 06:38:13 -08:00
Shi-Hao Hong
1f3d423f92
Step 1: SnackBarBehavior.floating offset fix - Soft breaking change (#50597)
* Adds an opt-in flag to fix floating snackbar's offset when no floating action button is present. This flag will be removed once the migration for the fix is complete.

Co-authored-by: filaps <filip1997.28@mail.ru>
2020-02-13 10:04:31 -08:00
Shi-Hao Hong
a833effbc7
Reland Alert dialog overflow spacing (#50675)
* Add ButtonBar.overflowButtonSpacing

* Add AlertDialog overflow button spacing functionality
2020-02-13 10:00:15 -08:00