Commit Graph

18842 Commits

Author SHA1 Message Date
Sanjoli Goyal
5b19328ff0 Update ReorderableListView API docs (#69650)
* Update ReorderableListView API docs

* fixed dart fmt

* added dartpad instead of code sample

* fixed parenthesis error

* Update packages/flutter/lib/src/material/reorderable_list.dart

Co-authored-by: Amit Patil <54329870+Amitpatil215@users.noreply.github.com>

* using reference List.generate instead of generate

* request changes are complete

* space eroors are fixed

* Update ReorderableListView API docs

* fixed dart fmt

* added dartpad instead of code sample

* fixed parenthesis error

* using reference List.generate instead of generate

* Update packages/flutter/lib/src/material/reorderable_list.dart

Co-authored-by: Amit Patil <54329870+Amitpatil215@users.noreply.github.com>

* request changes are complete

* space eroors are fixed

* request changes are completes

Co-authored-by: Amit Patil <54329870+Amitpatil215@users.noreply.github.com>
Co-authored-by: John Ryan <ryjohn@google.com>
2020-11-11 11:28:57 -08:00
Harsh Mehta
600c99213a AdoptAWidget: Stepper (#70092)
* interactive dartpad sample added

* cleaner code

* removed extra spaces

* minor spaces added

* removed null returns
2020-11-11 10:03:06 -08:00
Chinmay Kabi
6f70a29c36 AdoptAWidget: WillPopScope (#69563)
* Update WillPopScope API Docs

* Update WillPopScope API Docs

* Update WillPopScope API Docs template fix

* Refactoring dartpad sample

* Refactoring dartpad sample

* Remove trailing spaces

* Minor build fix

* Remove space

* Change the dartpad sample and other minor changes

* Change the dartpad example

* Remove trailing character

* refactor code to dart preamble

* adding uncleared variable

* adding uncleared variable

* Implemented requested changes

* Implemented requested changes

* empty commit

* minor changes

Co-authored-by: Chinmay Kabi <chinmaykabi@gmail.com>
2020-11-11 10:01:46 -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
xster
aac980baac Update cupertino and material translations (#70157) 2020-11-10 20:56:06 -08:00
Michael Goderbauer
786d0306db Assert for RenderFlex intrinsics if using baseline alignment (#70139) 2020-11-10 14:29:41 -08:00
Jonah Williams
fb28ee2860 [flutter_tools] reland: cache pub invocations (#70180)
Disabled caching of pub invocations on flutter drive.
2020-11-10 13:56:36 -08:00
Hans Muller
191d0aa4b6 Revert "AppBar draws its defaults from theme.colorScheme (#69251)" (#70212) 2020-11-10 13:54:04 -08:00
Jonah Williams
0bbd9020ed [flutter_tools] remove experiment tracking analytics for null safety (#70183) 2020-11-10 12:49:50 -08:00
Jonah Williams
39bc68b6a2 [flutter_tools] dont use autodetect enum for web (#70189) 2020-11-10 12:49:38 -08:00
Jonah Williams
84a8bd3f5a Revert "[flutter_tools] always use dart to run test script. (#70146)" (#70175)
This reverts commit a90880a8c3.
2020-11-10 05:21:14 -08:00
Jonah Williams
a90880a8c3 [flutter_tools] always use dart to run test script. (#70146) 2020-11-10 05:02:56 -08:00
Darren Austin
fb63371589 Fix for the ListTile horizontalTitleGap calculation introduced with PR #64222. (#70149) 2020-11-09 18:13:07 -08:00
Jonah Williams
dbcd7868a4 [flutter_tools] remove most globals from asset system and remove Cache manipulation in unit tests (#70011) 2020-11-09 18:01:04 -08:00
Jonah Williams
1c4b50ecf1 Revert "[flutter_tools] restore pub caching functionality (#70133)" (#70144)
This reverts commit ff953e4f83.
2020-11-09 16:38:07 -08:00
Jonah Williams
3fb389c75a [null-safety] implement null-safe autodetection for the web (#70126)
Fixes #69416
Fixes #70121
2020-11-09 16:13:38 -08:00
Jonah Williams
ff953e4f83 [flutter_tools] restore pub caching functionality (#70133)
Necessary to work around #70013 (this looks like it will be fixed, but should protect us in the future)

Restores some notion of skipping pub, with differences from the prior implementation:

Off by default, and only used by the flutter command automatic pub get
A single check parameter. Uses the framework version cached per-project instead of a timestamp of the tool, to avoid cases where downloading a prebuilt framework would cause this check to no longer work.
2020-11-09 16:11:55 -08:00
Greg Spencer
bbc0161669 Remove references to Window, and switch usages to PlatformDispatcher or SingletonFlutterWindow (#69617)
* Remove references to dart:ui.Window, and point usages to PlatformDispatcher or SingletonFlutterWindow, as appropriate

* remove new test platform dispatchers

* Amend documentation
2020-11-09 15:26:29 -08:00
redsolver
3b7718c27d AdoptAWidget: Table (#69488) (#69588)
* Added Dartpad sample for Table widget

* Changed template to stateless_widget_scaffold

* Removed trailing character
2020-11-09 15:20:42 -08:00
Jonah Williams
8c02c300d9 [flutter_tools] always run pub with prebuilt applicaitons on drive (#70136) 2020-11-09 14:55:04 -08:00
Kate Lovett
31c0291af4 Remove old todo (#70131) 2020-11-09 14:44:04 -08:00
xubaolin
935185ac45 Fix the PopupMenuButton offset bug (#69383) 2020-11-09 13:54:02 -08:00
Yegor
879466eac2 default to unsound nullability for web (#70120) 2020-11-09 13:49:02 -08:00
Jonah Williams
f1cdf2e6f3 Revert "[flutter_tools] restore pub caching functionality on run/test (#70056)" (#70132)
This reverts commit 6e5845f025.
2020-11-09 13:31:01 -08:00
Jonah Williams
6e5845f025 [flutter_tools] restore pub caching functionality on run/test (#70056) 2020-11-09 12:52:22 -08:00
Emmanuel Garcia
21e802746b Migrate Flutter Gallery test to null safety (#70116) 2020-11-09 12:29:14 -08:00
Jonah Williams
4c511fbde2 [flutter_tools] remove workaround for caching sound dill (#70014) 2020-11-09 11:53:56 -08:00
chunhtai
0bc0cc6192 Fix crash when widgetspan does not produce a semantics node in render… (#69919)
* Fix crash when widgetspan does not produce a semantics node in render paragraph

* fix comments

* fixed corner case, added test, refactored semantics widget

* addressing comment
2020-11-09 11:31:56 -08:00
Hans Muller
a8f9d4cebf AppBar draws its defaults from theme.colorScheme (#69251) 2020-11-09 10:59:39 -08:00
Michael Thomsen
168ad5dc4d Roll engine and fix pubspecs that do not have a Dart SDK constraint (#70078) 2020-11-09 19:02:10 +01:00
xster
d18bd9a5bb move cupertino_icon template to 1.0.1 for null safety (#69997) 2020-11-09 09:54:42 -08:00
Jia Hao
f5933dbad3 [integration_test] Add a setter for defaultTestTimeout (#70073)
* [integration_test] Add a setter for defaultTestTimeout

* type annotation

* More type annotations

* Fix doc
2020-11-09 08:39:05 -08:00
Yuqian Li
8e7748e74c Reland migration (#69996)
This reverts ae0a9cb560 and therefore relands #69629.

Additionally, `flutter update-packages --force-upgrade` has been run to update `pubspec.yaml` to resolve the analyze test failures.
2020-11-08 20:32:04 -08:00
Konstantin Scheglov
cc52b32b65 Ignore several import_of_legacy_library_into_null_safe (#69904)
* Ignore import_of_legacy_library_into_null_safe instead of un-migrating.
2020-11-08 17:46:16 -08:00
Zachary Anderson
e59ab90ae1 Add Dart SDK constraint to a pubspec (#70030)
This will unblock the roll of the next Dart SDK
2020-11-07 11:42:05 -08:00
Michael Thomsen
e4d94f7ccd Revert "Migrate Flutter gallery test to null safety (#69048)" (#70023)
This reverts commit 7ba775a994.
2020-11-07 12:15:22 +01:00
Emmanuel Garcia
7ba775a994 Migrate Flutter gallery test to null safety (#69048) 2020-11-06 20:38:12 -08:00
Jonah Williams
52d49fb358 [flutter_tools] remove material design schema, use dart code (#69987)
Instead of loading the use-material-design asset data from a yaml file in the repo, leave it in dart code and simplify. Remove some of the globals, but not enough to update to testWithoutContext
2020-11-06 19:55:55 -08:00
Hans Muller
a35aa3fdeb Add new ListTile parameters to ListTileTheme (#69982) 2020-11-06 16:39:02 -08:00
David Iglesias
e148bf8785 [flutter_web_plugins] Migrate to null safety. (#69844) 2020-11-06 15:34:10 -08:00
George Wright
2b512781a0 Add a --dart-entrypoint-args flag to flutter run to pass through Dart entrypoint arguments on Flutter Desktop (#69607) 2020-11-06 15:34:02 -08:00
Jonah Williams
2fb53d83f2 [flutter_tools] remove all globals from cache and cache_test (#69505) 2020-11-06 15:26:45 -08:00
Dan Field
16dce76577 Fix excessive rebuilds of DSS (#69724) 2020-11-06 12:09:02 -08:00
Jonah Williams
1f210275aa [flutter_tools] wrap http send in async guard (#69972) 2020-11-06 11:00:20 -08:00
Mokusesei
6269abb75b Reland: fix android studio 4.1 plugin path for mac (#69954) 2020-11-06 10:57:04 -08:00
Devon Carew
5ba2d79ad2 remove the use of the analysis server --enable-experiments flag from flutter analyze (#69966) 2020-11-06 10:56:34 -08:00
Jonah Williams
e18533e7ab [flutter_tools] remove globals from android_workflow (#69548) 2020-11-06 10:55:52 -08:00
Jonah Williams
ef288c1720 [flutter_tools] work around bug in plugins CI (#69971) 2020-11-06 10:55:40 -08:00
Gary Roumanis
16daed86c3 Persist Chrome Default Directory (#69921) 2020-11-06 10:54:04 -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