Commit Graph

13755 Commits

Author SHA1 Message Date
Ming Lyu (CareF)
54c9441723 benchmarkLive: a new LiveTestWidgetsFlutterBindingFramePolicy for benchmark on device (#61388)
* add benchmarkLive flag and tests

* update handlePointerEventRecord doc

* using e2e 0.6.1
2020-07-17 18:56:12 -04:00
chunhtai
09dfca6f5d add static method to create material hero controller (#61662) 2020-07-17 14:26:03 -07:00
Jimmy Wei
14dcbb2d84 Fix overflow issue caused by a long title/subtitle for the vertical stepper (#61623) 2020-07-17 14:21:03 -07:00
Chris Yang
30e556ddc5 Add no-op callbacks to platform view gesture recognizer when necessary (#61671)
After #31935, Some one sequence gesture recognizers requires at least one callback to be able to compete in the arena. This PR adds the a no-op callback in the gesture recognizer in the platform view when the gesture recognizer does not have any callbacks. This way, all the gesture recognizers in the platform view can compete in the arena.
2020-07-17 12:13:22 -07:00
Jenn Magder
55176c4d6f Show device diagnostic messages in doctor (#61585) 2020-07-17 09:41:03 -07:00
Konstantin Scheglov
741e9675e7 Remote returns for function expression inferred return type void. (#61582) 2020-07-17 09:36:03 -07:00
Todd Volkert
1840b7121a Make scrollbar thickness and radius customizable (#61401)
* Make scrollbar thickness and radius customizable

https://github.com/flutter/flutter/issues/29576
https://github.com/flutter/flutter/issues/36412

* Add docs for constants

* No more magic numbers in test
2020-07-16 23:15:23 -07:00
Todd Volkert
5587ca17e8 Add assert in PictureLayer.addToScene() (#61655)
SceneBuilder.addPicture() is implemented in C++, and if `picture`
is null, it will seg-fault. This catches the problem before that
happens.
2020-07-16 23:14:56 -07:00
Todd Volkert
7ea710c56e Fix Border.symmetric: phase 2 (#61666)
This updates the default value of the `invertMeaningOfVerticalAndHorizontal`
argument from true to false.

https://github.com/flutter/flutter/issues/61470
2020-07-16 23:14:44 -07:00
Christopher Fujino
df542b6831 update packages and update template (#61678) 2020-07-16 18:32:46 -07:00
Ming Lyu (CareF)
8badf93609 Revert "update packages (#61647)" (#61674)
This reverts commit b7b60a2d2c.
2020-07-16 20:13:18 -04:00
Michael Goderbauer
1b406159f2 Give better error message for describeEnum (#61581) 2020-07-16 16:21:05 -07:00
Ming Lyu (CareF)
b7b60a2d2c update packages (#61647) 2020-07-16 18:55:42 -04:00
Ben Konyi
38fe887342 Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools (#61276)" (#61633)" (#61641)
This reverts commit 594c3541aa.
2020-07-16 11:43:54 -07:00
Sam Rawlins
45e097da16 Remove unused parameter from private method in widget_inspector (#61572) 2020-07-16 11:41:03 -07:00
Ben Konyi
594c3541aa Reland "Add support for Dart Development Service (DDS) in Flutter Tools (#61276)" (#61633)
This reverts commit a1a5a8f635.
2020-07-16 11:38:17 -07:00
Christopher Fujino
f796e047fd Verbose process exceptions (#61552) 2020-07-16 11:31:03 -07:00
Bogdan Lukin
9ef8192760 Fix/decoration equality (#61551) 2020-07-16 11:26:04 -07:00
Darren Austin
c78578417d Updated date pickers to use the new TextButton in place of FlatButton. (#61489) 2020-07-16 11:21:04 -07:00
Jonah Williams
859fce9010 [flutter_tools] add feature for iOS, android, and fuchsia (#61481)
Add feature flags for android, ios, and fuchsia (on by default). After updating the g3 rollers, the fuchsia feature will be turned off by default. Creates a simpler base type of feature flags for g3 to extend.

Updates android, ios, fuchsia workflows to use feature flags check.
Removes concept of stable artifacts and checks on flutter version.

Fixes #58999
#52859
#12768
2020-07-16 09:51:59 -07:00
Jonah Williams
045f3a54f5 [flutter_tools] turn down flutter generate (#61475)
complete removal of all generate functionality

Fixes #61508
2020-07-16 09:51:22 -07:00
Todd Volkert
e2cdc9f981 Allow transparent barrierColor in showDialog methods (#61516)
`showDialog()` and `showGeneralDialog()` were allowing transparent
colors but then triggering an assertion down the stack while building
the modal barrier. The assertion existed to keep from animating from
transparent to transparent, but there's no need for the assertion,
since we can just treat the transparent case as the same as the null
case -- no animation necessary.
2020-07-16 09:43:47 -07:00
Darren Austin
681395e888 Updated time pickers to use the new TextButton in place of FlatButton. (#61492) 2020-07-16 09:43:16 -07:00
Kate Lovett
16d5dd9b13 Fix NestedScrollView inner ballistic activity for 0 velocity (#61386) 2020-07-16 09:41:04 -07:00
Hans Muller
563afe381c Updated obsolte button references in Scaffold, IconButton (#61578) 2020-07-16 09:40:26 -07:00
Hans Muller
d90a246461 Corrected splash color for TextButton, ElevatedButton, OutlinedButton (#61576) 2020-07-16 09:40:11 -07:00
chunhtai
fc09119d0a fix intrinsic height and width for widget span (#61485) 2020-07-16 09:36:09 -07:00
Kate Lovett
d877ad8616 Update Table docs for horizontal scrolling (#61268) 2020-07-16 09:36:05 -07:00
Pedro Massango
5a69de8263 FormField should autovalidate only if its content was changed (fixed) (#59766) 2020-07-16 09:31:05 -07:00
Danny Tuppeny
e8eb876489 Fix build (fix references to _flutter -> flutter) (#61568) 2020-07-15 12:45:55 -07:00
Danny Tuppeny
51fcf8fa7a Add debounce support to daemon hot reload requests (#55376) 2020-07-15 11:56:05 -07:00
Ming Lyu (CareF)
c9cf9c9940 Promote WidgetTester.ensureVisible to WidgetController (#61540)
* Promtoe WidgetTester.ensureVisible

* modify according to tvolkert@
2020-07-15 14:54:49 -04:00
Todd Volkert
9e665e1d88 Update documentation for IntrinsicWidth & IntrinsicHeight (#61502)
https://github.com/flutter/flutter/issues/61496
2020-07-15 11:54:32 -07:00
Todd Volkert
0d2421d5df Add defaults to showGeneralDialog() (#61503)
The function passes most of its arguments through to
`_DialogRoute`, but it wasn't providing the default
values that `_DialogRoute` was, causing it to override
the defaults will null values.
2020-07-15 11:53:55 -07:00
Todd Volkert
d009172fd2 Change xcodebuild to be a "slow operation" (#61518)
The Xcode build almost always takes longer than 2 seconds. With the
operation classified as a "fast operation", the Flutter tool will
warn the user that the build is "taking an unexpectedly long time".
This updates the operation to be a "slow operation", which will only
warn the user if it takes 2+ minutes.
2020-07-15 11:53:26 -07:00
Jonah Williams
5e1635b186 fix type error in web builds (#61556) 2020-07-15 10:21:39 -07:00
Jonah Williams
d8b6fa153a [flutter_tools] generate a synthetic flutter_gen package on pub get (#61261)
Allow configuring the flutter_manifest to support a synthetic package, this is done through flutter: generate: true.

When running pub get, insert a flutter_gen entry into the packages if it does not already exist. This points to .dart_tool/flutter_gen, which can be updated to contain the generated intl sources (But doesn't currently)

Adds an integration test that verifies this code can be run and imported when enabled.

Part of #60914
2020-07-15 10:12:52 -07:00
zichangg
3631adc99a Fixing patch for coming breaking change in HttpClientRequest (#61138)
* Fixing patch for coming breaking change in HttpClientRequest

* Add noSuchMethod() and comment out abort()

* Add ignore: override_on_non_overriding_member
2020-07-15 10:07:57 -07:00
Tong Mu
6e0bc30e84 Document the mapping of system mouse cursors on Windows and Linux (#61399)
Add document for mouse cursor mapping on Windows and Linux.
2020-07-15 10:02:22 -07:00
Danny Tuppeny
d19bd37749 Tweak message about debugging with web-server (#61535) 2020-07-15 17:57:14 +01:00
Alexandre Ardhuin
978a2e7bf6 migrate foundation to nullsafety (#61188)
* migrate foundation to nullsafety

* address review comments
2020-07-15 18:55:27 +02:00
Jonah Williams
cb7770b3a5 [flutter_tools] add support for enable null safety asserts (#61114)
Enable null safety asserts for web debug mode. This induces runtime asserts at the boundaries between null safe and non-null safe libraries. Adds integration test that validates assertion error is thrown.

#61042
2020-07-15 09:54:39 -07:00
Neevash Ramdial
e24cdab517 Re-land Expose height and width factor in AnimatedAlign (#61136) 2020-07-15 09:46:03 -07:00
Anthony
6f56ba453d Automatically scale down Dialog padding for larger text scale factors (#58245) 2020-07-15 09:36:03 -07:00
Jonah Williams
b010f78e3a [flutter_tools] fix typo in test code (#61548) 2020-07-15 09:21:24 -07:00
Ayush Bherwani
26a5f5c3d6 [ListTileTheme] adds properties to customize tile color at theme level (#61532) 2020-07-15 05:46:03 -07:00
Hans Muller
fcb5806933 Update MaterialState API docs (#61479) 2020-07-14 22:41:01 -07:00
Todd Volkert
3ce06efd40 Default textBaseline to alphabetic in Flex (#61425) 2020-07-14 22:36:02 -07:00
Siva
e15cfc2c09 Remove code that morphs --sound-null-safety to --null-safety options (#61491) 2020-07-14 17:21:01 -07:00
Jenn Magder
4fba77476d Support Xcode patch version comparison (#61484) 2020-07-14 17:16:02 -07:00