Commit Graph

19 Commits

Author SHA1 Message Date
Abhishek Ghaskata
a8e2606963 Migrate manual_tests to null safety (#82611) 2021-05-27 10:49:02 -07:00
Alexandre Ardhuin
157bc92d4a end of sort_child_properties_last (#82457) 2021-05-13 13:39:04 -07:00
Michael Goderbauer
b8a2456737 Enable library_private_types_in_public_api lint (#81578) 2021-05-10 16:26:16 -07:00
Phil Quitslund
61c30c41b2 fix sort_directives violations (#80817) 2021-04-21 13:49:03 -07:00
Michael Goderbauer
0f568298d8 enable use_key_in_widget_constructors lint (#77032) 2021-03-02 10:14:02 -08:00
Alexandre Ardhuin
d546e1d311 fix for upcoming lint use_named_constants (#74788) 2021-01-27 20:20:44 +01:00
Sam Rawlins
2b63181116 Remove "unnecessary" imports. (#74385) 2021-01-25 19:09:05 -08:00
Michael R Fairhurst
7f3c9b6bda Remove unused 'dart:async' imports. (#65568) 2020-09-16 14:14:06 -07:00
Hans Muller
6b7634b73a Removed old button widget references from dev/manual_tests (#62816) 2020-08-05 14:51:27 -07:00
Jonah Williams
f7de5aa5b0 fix visual density prefer_const_constructors lint (#54471) 2020-04-10 11:20:25 -07:00
Greg Spencer
d64955ab49 Add visualDensity and focus support to ListTile (#53888) 2020-04-10 10:20:02 -07: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
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
Alexandre Ardhuin
b5f328e37e remove unnecessary string interpolations (#49622) 2020-01-31 18:30:21 +01:00
Dan Field
fabeb2a16f Revert string interp (#49602) 2020-01-28 07:56:51 -08:00
Alexandre Ardhuin
92cbaa3efe remove unnecessary string interpolations (#49352) 2020-01-23 20:43:01 -08:00
Sam Rawlins
965ba387d4 Remove unused public static members of private classes/enums (#48218) 2020-01-07 12:18:02 -08:00
Greg Spencer
bc7ed36db5 Add visualDensity to checkbox, radio, icon button, and chip. (#46091)
This adds a visualDensity attribute to checkbox, radio, icon button, and chip.
2019-12-05 17:36:42 -08:00
Greg Spencer
09927b94c3 Add a VisualDensity manual test (#46083)
Adds a manual test that allows testing of density for buttons. Also updates some of the button tests to be somewhat simpler and to test the child positions in the test to make sure they are consistent.
2019-12-04 10:48:06 -08:00