Commit Graph

18842 Commits

Author SHA1 Message Date
Michael Goderbauer
535392bfd5 added tests, removed API (#69620) 2021-01-08 15:44:08 -08:00
Michael Goderbauer
24d434d156 Revert "Revert "Fix _LateInitializationError for RenderObjectElement.renderObject (#70974)" (#73575)" (#73580) 2021-01-08 12:49:04 -08:00
Jonah Williams
25dd8684b1 [flutter_tools] add 483 to non-recoverable errors (#73579) 2021-01-08 11:56:13 -08:00
Jonah Williams
df98145548 [flutter_tools] add API for passing arbitrary flags to tester binary (#73576) 2021-01-08 11:46:15 -08:00
Alabhya
12f426f317 [Api docs]Added dartpad demo for Bottom App Bar (#73044) 2021-01-08 11:20:35 -08:00
Michael Goderbauer
edfb6305d8 Revert "Fix _LateInitializationError for RenderObjectElement.renderObject (#70974)" (#73575)
This reverts commit c243d834ce.
2021-01-08 10:24:10 -08:00
Michael Goderbauer
c243d834ce Fix _LateInitializationError for RenderObjectElement.renderObject (#70974) 2021-01-08 09:35:10 -08:00
Pierre-Louis
1bd89a9617 Revert "Add material icons golden test (#73361)" (#73521)
This reverts commit d3a2db22e7.
2021-01-07 18:58:12 -08:00
Jenn Magder
1fdf60a2ed Revert "[web] Switch flutter tool web-renderer default for web to auto (#73502)" (#73529)
This reverts commit d4c77f31ef.
2021-01-07 18:08:03 -08:00
Shi-Hao Hong
f6a499135b [State Restoration] Scaffold.drawer and Scaffold.endDrawer (#72788) 2021-01-07 16:29:03 -08:00
Michael Goderbauer
5d1306e7ab Update outdated links (#73514) 2021-01-07 16:28:12 -08:00
Kate Lovett
f461f1c9c8 Remove deprecated WidgetsBinding.[deferFirstFrameReport, allowFirstFrameReport] (#72893) 2021-01-07 16:09:04 -08:00
Jenn Magder
45d71e25ab Build iOS apps using Swift Packages (#73508) 2021-01-07 15:59:09 -08:00
Ian Hickson
544a41eb55 Remove an obsolete comment from pubspec.yaml (#73505) 2021-01-07 15:59:04 -08:00
Ferhat
d4c77f31ef [web] Switch flutter tool web-renderer default for web to auto (#73502) 2021-01-07 15:54:04 -08:00
Gary Roumanis
705811fee2 Fix launching DevTools with Flutter Web applications (#72110) 2021-01-07 15:49:09 -08:00
Michael Goderbauer
918100f8e8 Migrate missed sample code to NNBD (#73509) 2021-01-07 15:44:13 -08:00
Jenn Magder
f596fdc008 Revert "Exclude arm64 from valid iOS simulators (#73458)" (#73511)
This reverts commit 273630c09d.
2021-01-07 14:06:32 -08:00
Jenn Magder
bc7286f118 Use simctl exit code instead of stderr (#73070) 2021-01-07 13:13:56 -08:00
Jenn Magder
273630c09d Exclude arm64 from valid iOS simulators (#73458) 2021-01-07 13:03:52 -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
Oscar Robles
71c6f1b9f0 AdoptAWidget - Update ActionListener with an example (#69717)
Adds an example to the docs for ActionListener.
2021-01-07 12:40:35 -08:00
Justin McCandless
c6aa20d4b7 Revert "Add BuildContext parameter to TextEditingController.buildTextSpan (#72344)" (#73503)
This reverts commit 4901744e62, which was a minor breaking change that I missed.  Will try to open the PR again following the breaking change process.
2021-01-07 12:34:03 -08:00
xster
e0dcb787dc groovy escaping was wrong for aar (#72554) 2021-01-07 11:43:27 -08:00
Justin McCandless
fc27828c87 Work around the crash by preventing deletes on -1,-1 selection (#73417) 2021-01-07 10:44:02 -08:00
Nathan Walker
b65a235139 SliverAppBar with ShrinkWrap Patch (#73195) 2021-01-07 10:39:02 -08:00
David LJ
84ddffb36b fix(cupertinoDatePicker): do not display previous day when minimumDate is midnight (#72933) 2021-01-07 10:34:03 -08:00
Kate Lovett
925ff2dcb1 Remove deprecated StatefulElement.inheritFromElement (#72901) 2021-01-07 10:29:04 -08:00
Jonah Williams
ed66037f51 [flutter_tools] describe current null safety build mode (#73426) 2021-01-07 10:26:51 -08:00
Ian Hickson
e2439ea708 Remove an obsolete (and now incorrect) comment in the pubspec.yaml (#72641) 2021-01-06 17:04:03 -08:00
Ian Hickson
fdab8546a0 Minor doc, style, and perf updates to Navigator/Routes (#71689)
* Minor doc, style, and perf updates to Navigator/Routes

These are minor fixes I ended up making while working on a larger
project that never went anywhere.

- Used a ColoredBox instead of a DecoratedBox for ModalBarrier
  (probably a trivial memory/perf win).

- A bunch of Navigator documentation fixes around when things rebuild.

- Mark routes dirty when the Navigator has a dependency change. I
  cannot find a way to test this because as far as I can tell it makes
  no actual difference to when things rebuild because whenever the
  Navigator rebuilds the Overlay rebuilds and whenever that happens
  every OverlayEntry rebuilds, but in theory that's not guaranteed so
  this is sort of a correctness fix. It may even be a perf loss. We do
  something similar in didUpdateWidget already. I could be convinced
  to maybe remove these...

- Make ModalRoute.filter public like everything else.

- Made ModalRoute update its barrier when it gets an update, in case
  e.g. the modal barrier depends on inherited widgets via the
  navigator context. Again, not sure of any way to detect this, it
  might actually be moot, but it seems to be the technically correct
  solution?

- Minor style fixes.

All in all I couldn't figure out a way to test any of this (I wrote
multiple large tests but it turns out they all already pass on master
and are effectively redundant with existing tests).

* Remove extraneous blank line
2021-01-06 16:15:05 -08:00
Jonah Williams
50dfd137ef [flutter_tools] prevent hot reload/restart if device has not finished devFS initialization (#73420) 2021-01-06 15:54:04 -08:00
Sam Rawlins
1420d956b1 Remove "unnecessary" imports. (#73368) 2021-01-06 15:44:03 -08:00
Jenn Magder
74d58105d1 Revert "Build iOS apps using Swift Packages (#72761)" (#73437)
This reverts commit 28db5a0fae.
2021-01-06 15:04:16 -08:00
Jenn Magder
6891928a1f Optionally include CocoaPods xcconfig (#73112) 2021-01-06 13:55:23 -08:00
Jenn Magder
28db5a0fae Build iOS apps using Swift Packages (#72761) 2021-01-06 13:54:53 -08:00
Jenn Magder
3082a2806e build ios-framework simulator slices for profile/release (#73378) 2021-01-06 12:12:23 -08:00
Jenn Magder
e21d822074 Remove build ios-framework --universal flag (#73383) 2021-01-06 11:14:05 -08: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
Ferhat
161dde55c9 Fix offline resource loader for serviceworker (#73416) 2021-01-06 10:47:20 -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
Justin McCandless
29d33cc38e Autocomplete Split UI (#72553)
Allows passing in a TextEditingController and FocusNode to RawAutocomplete, which enables split UIs where the TextField is in another part of the tree from the results.
2021-01-06 09:04:46 -08:00
YeungKC
35af0d7b1b Fix dateAndTime and time modes of CupertinoDatePicker. (#73276) 2021-01-06 08:19:04 -08:00
Jonah Williams
66175760be [flutter_tools] delete .packages during flutter clean (#73364) 2021-01-05 18:54:03 -08:00
Jonah Williams
c2ce0e68c6 [flutter_tools] prevent NPE due to moved/deleted packages during upgrade packages (#73357) 2021-01-05 18:49:02 -08:00
Jonah Williams
7c618758bb [flutter_tools] delegate first run message re-display to new class, only if changed (#73353) 2021-01-05 18:44:04 -08:00
Shi-Hao Hong
e8cf674082 [NNBD] Migrate sample code (#72938) 2021-01-06 08:26:53 +08:00
Jia Hao
47bad77287 Support flutter_test_config for flutter test on web platforms (#72488) 2021-01-05 15:49:02 -08:00
Jesse
4901744e62 Add BuildContext parameter to TextEditingController.buildTextSpan (#72344) 2021-01-05 14:04:06 -08:00