Commit Graph

15656 Commits

Author SHA1 Message Date
Jonah Williams
cf54d6a2f0 [flutter_tools] remove mocks from file system test (#74919) 2021-01-28 12:40:20 -08:00
Kate Lovett
a664731a14 Add fixes for nullOk changes (#74866) 2021-01-28 14:31:34 -06:00
Juyeong Lee
68bd9c0146 Add more references to LongPressDraggable (#74835) 2021-01-28 09:58:58 -08:00
Jesse
2e7ab87a4d Reland "Add BuildContext parameter to TextEditingController.buildTextSpan" (#73510) 2021-01-28 09:49:03 -08:00
xubaolin
d40f4399e2 Fix a slider layout bug when the overlay size is smaller than the thumb size (#74880) 2021-01-28 09:04:06 -08:00
Ian Hickson
29e604e241 Update packages (#74874) 2021-01-28 00:04:03 -08:00
Dan Field
3ece9c63d9 Flutter_driver nnbd (#74856) 2021-01-27 23:55:26 -08:00
Darren Austin
650b240634 Fix a bug with duplicate keys being used in the ReorderableListView. (#74842) 2021-01-27 21:39:06 -08:00
Kate Lovett
164671e2b1 Remove deprecated BinaryMessages (#73750) 2021-01-27 21:34:04 -08:00
Jenn Magder
51b3edd45f Revert "Remove package image dependency (#74763)" (#74869)
This reverts commit ca2d7b3d3c.
2021-01-27 19:50:58 -08:00
Jenn Magder
ff87150ba9 Revert "Swap MockStdio to FakeStdio in tests (#74838)" (#74867)
This reverts commit 547ed88ab3.
2021-01-27 19:35:16 -08:00
Jenn Magder
547ed88ab3 Swap MockStdio to FakeStdio in tests (#74838) 2021-01-27 17:33:47 -08:00
Kate Lovett
f04616f723 Migrate flutter_goldens to null safety (#74853) 2021-01-27 17:29:04 -08:00
Ian Hickson
ca2d7b3d3c Remove package image dependency (#74763) 2021-01-27 17:19:03 -08:00
Jenn Magder
3f380ca544 Swap mockito import for test/fake (#74847) 2021-01-27 16:02:44 -08:00
Greg Spencer
c05f623c6b Remove FocusTraversalGroups from the final sorted list of descendants. (#74758)
This fixes a subtle bug in the focus traversal that would leave unfocusable FocusTraversalGroup nodes in the list of sorted nodes to be traversed, causing an assert to fire if you nested a FocusTraversalGroup in another one and made its children unfocusable.
2021-01-27 15:58:08 -08:00
Jonah Williams
74bd7b6f6d [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832)
* opt out the flutter tool

* oops EOF

* fix import

* Update tool_backend.dart

* Update daemon_client.dart

* fix more
2021-01-27 15:17:53 -08:00
Sam Rawlins
8043d6723e Remove "unnecessary" imports. (#74821) 2021-01-27 15:09:04 -08:00
Pedro Massango
a2ce206695 expose clipBehavior (#74046) 2021-01-27 14:54:46 -08:00
Phil Quitslund
4fa250f3f7 title format tweaks (#74747) 2021-01-27 14:54:05 -08:00
Michael Goderbauer
63267e9016 Make flutter create --smaple null-safe (#74844) 2021-01-27 14:44:03 -08:00
Jenn Magder
2bf560b481 Replace MockProcessManager with FakeProcessManager in process_test where possible (#74834) 2021-01-27 13:25:30 -08:00
Dan Field
1747adb630 Drop mockito for flutter_goldens (#74782) 2021-01-27 13:09:46 -08:00
Jenn Magder
fe921211df Replace MockXcode with Xcode.test in more unit tests (#74827) 2021-01-27 13:07:07 -08:00
Jonah Williams
91437a0641 [flutter_tools] delete old directories when unzipping ontop of them (#74818)
Fixes #74772

stale files from previous SDKs were getting left in the cache, confusing the analyzer.
2021-01-27 12:56:21 -08:00
Dan Field
a204f038fc Null safe migration for fuchsia_remote_debug_protocol (#74762) 2021-01-27 11:44:51 -08:00
Alexandre Ardhuin
d546e1d311 fix for upcoming lint use_named_constants (#74788) 2021-01-27 20:20:44 +01:00
Ian Hickson
37a0189773 Don't leak exceptions thrown by message channels (#74446) 2021-01-27 11:19:04 -08:00
Jenn Magder
1ad6edb8d5 Remove MockProcessManager from channel_test and other tests (#74780) 2021-01-27 11:17:29 -08:00
Jenn Magder
675fd5540e Replace MockXcode with Xcode.test in unit tests (#74777) 2021-01-27 11:04:03 -08:00
Shi-Hao Hong
c6a428d500 [State Restoration] CupertinoModalPopupRoute (#74805)
* Expose CupertinoModalPopupRoute for state restoration

* Add state restoration test, expose kCupertinoModalBarrierColor
2021-01-28 03:00:01 +08:00
Hans Muller
2d9fad09ba Added ButtonStyle.fixedSize (#74773) 2021-01-27 10:54:06 -08:00
Mouad Debbar
7f4bb1eea9 Use the shortcuts temporary solution only on web (#74768) 2021-01-27 10:49:04 -08:00
Jonah Williams
7c0300a358 [flutter] throw more specific error messages if a lerp'd type does not conform to Tween API (#74684) 2021-01-27 09:20:56 -08:00
Jonah Williams
4a1445bb1d [flutter_tools] handle further devtools NPE (#74764) 2021-01-27 09:11:26 -08:00
Dan Field
71aec53acb roll packages (#74781) 2021-01-26 21:53:04 -08:00
Jenn Magder
bf37a3964b Rename setUpMockXcodeBuildHandler -> setUpFakeXcodeBuildHandler in tests (#74778) 2021-01-26 21:19:02 -08:00
Dan Field
9eacc9ef62 drop mockito for integration_test (#74770) 2021-01-26 18:24:03 -08:00
Darren Austin
7db172b24d Added a ReorderableListView.builder constructor (#74697)
Added constructor parameters to the ReorderableList that were missing from ScrollView. Also replace a lot of doc comments with macro templates to reduce duplication.
2021-01-26 17:18:40 -08:00
Todd Volkert
5584fce36e Switch global key registry to be owned by the build owner. (#74701)
This gets away from the extra static map for global key registrations
in favor of the data structures being instance properties of the build
owner. This still allows for semantically-equivalent static access through
the binding (which in turn gives access to the build owner).

This also adds a `BuildOwner.globalKeyCount` getter to get the count
of global keys associated with widgets currently in the tree.
2021-01-26 14:28:58 -08:00
Dan Field
e4c8498795 no more mockito for fuchsia remote debug protocol (#74755) 2021-01-26 13:44:03 -08:00
Jonah Williams
fa8bf67cb6 [flutter_tools] catch errors when getting cwd (#74744) 2021-01-26 12:49:03 -08:00
xster
00143388a2 default CupertinoSliverNavigationBar's stretch to false (#74669) 2021-01-26 09:24:04 -08:00
Dan Field
d1538320d2 Roll packages to null safe (vm_service, test, etc.) (#74671) 2021-01-26 09:15:54 -08:00
Jia Hao
22f1700427 [flutter_tools] Make setting of CWD consistent for flutter test (#74622) 2021-01-25 22:34:03 -08:00
Greg Spencer
2eeeba9c09 Remove nullOk from Actions.invoke, add Actions.maybeInvoke (#74680)
This removes the nullOk parameter from Actions.invoke, and adds an Actions.maybeInvoke function. The difference is that invoke will now always (in debug mode) throw if an enabled action isn't found, and maybeInvoke will return null if an enabled action isn't found. The invoke function can still return null as the result of the invocation, though, so I purposely didn't change the return value to Object from Object?.
2021-01-25 20:52:30 -08:00
Daniel
fbc3683b18 ChoiceChip's default "selected" style in dark mode theme is unreadable #49984 (#74610) 2021-01-25 20:04:03 -08:00
Yurii Cherniavskyi
6d9e3c3fa9 Expose insetPadding and clipBehavior in SimpleDialog (#73571) 2021-01-25 19:44:05 -08:00
Jenn Magder
754bc4a594 Move android_plugin_example_app_build_test from devicelab to tool integration tests (#74685) 2021-01-25 19:23:53 -08:00
Mouad Debbar
47f8e956d3 Swap the Shortcuts widget with its child in TextField (#74683) 2021-01-25 19:19:04 -08:00