Commit graph

19939 commits

Author SHA1 Message Date
Jakub Fijałkowski 4301731eb2
Make Flutter Driver actively wait for runnable isolate (#113969)
* Test the case when main Isolate is in `None` state for long time

* Wait for isolate to become runnable

* Handle `PausePostRequest` as a normal "paused" event

* Use `-= 1` instead of `--`
2022-11-16 17:01:22 +00:00
godofredoc 2c1536a2d9
Create a main alias for master channel. (#115388)
* Create a main alias for master channel.

To slowly migrate away from master branch in the flutter repository we
created a main branch that is mirroring master branch. This PR is also
adding a channel alias that will allow to use master/main interchangeably.

Bug: https://github.com/flutter/flutter/issues/95041

* Fix channel tests.

* Remove additional space.
2022-11-16 02:49:00 +00:00
Greg Spencer 93c4b09e62
Add RestorableEnumN<T> and RestorableEnum<T> to restorable primitive types (#115050)
* Add RestorableEnumN and RestorableEnum to restorable primitive types

* Review Changes

* Change to assert if not part of the valid set.

* Assert if default value isn't in the enum
2022-11-16 02:07:50 +00:00
fzyzcjy 7d2b01132d
Fix logic error in markNeedsPaint (#112735)
* Update object.dart

* Update object.dart

* Update object.dart

* Update object.dart

* Update object.dart
2022-11-16 00:06:51 +00:00
hangyu d0e5b2fbaa
Add a way to customize padding in BottomAppBar (#115175)
* squash 5 into 1

fix

Update packages/flutter/lib/src/material/bottom_app_bar.dart

lint

update tests

Co-Authored-By: Hans Muller <hansmuller@chromium.org>

* lint

Co-authored-by: Hans Muller <hansmuller@chromium.org>
2022-11-15 15:54:52 -08:00
Jenn Magder 2c44f4a68b
Remove dev branch reference from build ios-frameworks error (#115166) 2022-11-15 21:35:29 +00:00
Tae Hyung Kim 700de09fd5
Change button and label text to sentence case for Material 3 (#115187)
* init

* upper case only when material 2

* fix test

* fix test

* fix tests again

* Add all tests

* analyze"

* fix stepper
2022-11-15 20:57:09 +00:00
hangyu 136b46ba91
Hint text semantics to be excluded in a11y read out if textfield in not empty and label text is provided (#115010)
* update hint semantics

* Update input_date_picker_form_field_test.dart
2022-11-15 12:32:32 -08:00
Darren Austin 39a9ed5721
Updated tokens to v0.141 (#115298) 2022-11-15 10:33:19 -08:00
Maurice Parrish 95ace11afa
Include initial offset when using PlatformViewSurface (#114103)
* add position to layout creation

* make position nullable

* fix tests

* test

* clear test size

* clear device pixel ratio

* add more documentaiton

* add comment about localToGlobal
2022-11-15 18:21:37 +00:00
Daco Harkes c37f255e8b
[tools] Fix plugin_ffi template lint violation (#115356)
Closes: https://github.com/flutter/flutter/issues/115347
2022-11-15 11:50:49 +00:00
Brandon DeRosier e9c6212da0
[Impeller] Add shader include with FlutterFragCoord for use by FragmentProgram (#114214) 2022-11-14 21:38:46 -08:00
Jonah Williams 59ecc75748
[flutter_tools] add uint compilation test (#115317)
* [flutter_tools] add uint compilation test

* Update shader_compiler_test.dart
2022-11-15 01:39:59 +00:00
fzyzcjy 8e3ea14787
Incorrect rendering of SnapshotWidget (#114400)
* add tests

* try to fix

* fix compile error

* refactor code

* rename

* doc

* refactor test

* simple rename
2022-11-15 01:39:57 +00:00
Jenn Magder 2e51077d19
Do not strip architecture suffixes from host local-engine (#115320)
* Do not strip suffices from host local-engine

* suffixes
2022-11-15 01:36:49 +00:00
Siva ea4e11dd9b
Fix test in preparation of the Dart VM dropping support for language versions < 2.12.0 (#115176)
* Fix test in preparation of the Dart VM switching to being null safe by
default.

* Fix analyze error.

* Format.

* Remove print.

* Fix analyzer lint.

* Fix warnings.
2022-11-14 14:47:35 -08:00
Qun Cheng 244990775a
Fixed the color curve issue (#115188) 2022-11-14 11:31:03 -08:00
Jonah Williams 8230ef5e85
Revert "[web] Add --local-web-sdk flag and use precompiled platform kernels for dart2js and ddc (#114639)" (#115242)
This reverts commit 0e9ee3679c.
2022-11-13 20:23:26 +00:00
Darren Austin 6ec2bd0a80
M3 Segmented Button widget (#113723) 2022-11-11 22:13:57 -08:00
Dan Field 9e314ff749
Make FutureBuilder handle SynchronousFuture correctly, reland SynchronousFuture usage in test assets (#115173)
* Make FutureBuilder handle SynchronousFuture correctly

* Reland  "Load assets in flutter_test without turning event loop. (#115123)" (#115156)"

This reverts commit 3895786f98.
2022-11-12 01:36:05 +00:00
Jackson Gardner 0e9ee3679c
[web] Add --local-web-sdk flag and use precompiled platform kernels for dart2js and ddc (#114639)
* Dart2JS build step looks for compiled platform binaries.

* Use new locations of platform binaries.

* Added --local-web-sdk command line flag.

* Need to use the matching frontend server when doing ddc stuff.

* Update packages/flutter_tools/lib/src/test/web_test_compiler.dart

Co-authored-by: Mouad Debbar <mouad.debbar@gmail.com>

* Update packages/flutter_tools/lib/src/runner/flutter_command_runner.dart

Co-authored-by: Mouad Debbar <mouad.debbar@gmail.com>

* Formatting issues.

* Need to use URI format for platform dill.

* Fix resident runner tests.

* Fix analysis issue.

* Fix and add unit tests.

* Add some useful comments.

* Refine doc comments for flags.

Co-authored-by: Mouad Debbar <mouad.debbar@gmail.com>
2022-11-12 01:31:10 +00:00
Dan Field 3895786f98
Revert "Load assets in flutter_test without turning event loop. (#115123)" (#115156)
This reverts commit 88e49ed274.
2022-11-11 12:14:39 -08:00
blendthink 229b39eda5
[flutter_tools] Fix so that the value set by --dart-define-from-file can be passed to Gradle (#114297)
* Add dartDefineConfigJsonMap to the checklist

* Fix typo

* Align formatting with other code

* Fix toGradleConfig method
2022-11-11 18:48:01 +00:00
Xilai Zhang 338841afd3
Revert "Revert "Revert "Scribble mixin (#104128)" (#114647)" (#114698)" (#115146)
This reverts commit 3cde69e8d9.
2022-11-11 10:01:11 -08:00
Jonah Williams c021d9177c
[flutter_tools] support github reporter (#115137)
* [flutter_tools] support github reporter

* Update packages/flutter_tools/lib/src/commands/test.dart

Co-authored-by: Christopher Fujino <fujino@google.com>

Co-authored-by: Christopher Fujino <fujino@google.com>
2022-11-11 07:36:02 +00:00
Dan Field 88e49ed274
Load assets in flutter_test without turning event loop. (#115123)
* Load assets in flutter_test without turning event loop.

This makes it possible to load an asset without actually turning
the event loop. This is importnat because our FakeAsync zones
may cause people to sprinkle in extra pumpAndSettles in when
running tests that load assets, which is undesirable.

* fix null checking
2022-11-11 04:17:12 +00:00
Kate Lovett d41308179a
Fix shrinkwrap on animated list (#115104) 2022-11-10 22:20:06 +00:00
Ian Hickson 4e7dbefd92
Explicitly call out documentation links in "flutter create" (#114181)
The recent survey suggests that some people are not finding documentation after they get started with Flutter, so let's just give them links right away. It might not help everyone but there's not really any downside so...
2022-11-10 22:13:52 +00:00
The one with the braid (she/her) | Dфҿ mit dem Zopf (sie/ihr) 2e432ec16b
chore: enable Flutter Android workflow on aarch64 (#113829)
- removes invalid arch check on Android workflow in order to enable Android development on any device supported

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-11-10 22:09:28 +00:00
Jenn Magder c1ceda41ef
Include stdout in codesign failure output (#115115) 2022-11-10 14:09:20 -08:00
Taha Tesser 1f891a0f33
Fix RangeSlider semantics node size (#114999)
* Fix `RangeSlider` semantics node size and add RTL semantics test

* Add TODO comments
2022-11-10 20:03:39 +00:00
Danny Tuppeny 09a4f23467
Prevent tests from producing dill files alongside the test file (#115075)
Fixes https://github.com/Dart-Code/Dart-Code/issues/4243.
2022-11-10 20:00:19 +00:00
Hans Muller 5a600456b0
Reland: Adds support for the Material Badge widget, BadgeTheme, BadgeThemeData (#114560) (#115002)
Requires G3Fix cl/486997831
2022-11-10 11:05:50 -08:00
Phil Quitslund 008ac174f9
remove unnecessary brace in string interpolation (#115032) 2022-11-10 01:36:24 +00:00
Alex Wallen 154ae0f11b
updateSemantics in TestWindow should always be implemented. (#114857)
* Test that updateSemantics can be called

* Test that updateSemantics in FakeWindow is always implemented

* Sort import directives

Co-authored-by: a-wallen <stephenwallen@google.com>
2022-11-10 00:40:25 +00:00
Danny Tuppeny 51c517c03c
[flutter_tools/dap] Add support for forwarding flutter run --machine exposeUrl requests to the DAP client (#114539)
* [flutter_tools/dap] Add support for forwarding `flutter run --machine` requests to the DAP client

Currently the only request that Flutter sends to the client is `app.exposeUrl` though most of this code is generic to support other requests that may be added in future.

* Improve comment

* Fix thrown strings

* StateError -> DebugAdapterException

* Add a non-null assertion and assert

* Use DebugAdapterException to handle restartRequests sent before process starts

* Fix typo + use local var

* Don't try to actually send Flutter messages in tests because there's no process
2022-11-09 19:16:47 +00:00
Victoria Ashworth 3a656b16cb
Add more supported simulator debugging options and improve tests (#114628)
* add debugging options to simulator, test more debugging flags, add tests for other launch arguements

* refactor iOS launch arguments to use one function for both simulator and physical devices

* treat dart flags differently between physical and simulator

* Simplify some flags between devices.

Change --disable-service-auth-codes to not always be included for physical devices, only if disableServiceAuthCodes is true.
Change --disable-observatory-publication to be used for simulator devices too.
Change --enable-checked-mode & --verify-entry-points to be used if debuggingEnabled is true regardless of device type.
Chnage --trace-startup to be used for simulator devices too.

* fix ios release mode with buildable app startApp test

* determine observatory-port from deviceVmServicePort and hostVmServicePort

* add comments and remove hasObservatoryPort
2022-11-09 18:17:09 +00:00
Taha Tesser d3dcd7d532
Update CircleAvatar to support Material 3 (#114812) 2022-11-09 03:50:41 -08:00
Gary Qian 69a542dade
Apply multidex config in kotlin dsl gradle file (#114660)
* Apply multidex login in kotlin dsl gradle file

* Cleanup

* Remove plugin parameter passing

* Cleanup

* Restore dependencies block

* Analyzer

* Compiles

* Cleanup

* Cleanup
2022-11-09 01:52:08 +00:00
Jesús S Guerrero 530324d232
Build command dependency injection (#114383)
* update flutter build command

* update tests

* fix analyze suggestions
2022-11-08 23:38:10 +00:00
Alex Wallen 7020f59ace
[tool] Support --flavor option for flutter install. (#114048)
* Alphabetize setup calls

* Add --flavor as an option for install

* Add verbose logging in install command

* Test that flavors build succeeds with proper flavor and fails with bogus one.

* Remove unused import

* The import was used...

* SQUASH

* Add flavor install test

* Rename test

* Add flavors install integration tests

* correct error message

* remove unused imports

* Delete copy test

* update test target

* Refactor mechanism to read buildInfo

* Remove unused import

* Set affected test targets to bringup: true

Co-authored-by: a-wallen <stephenwallen@google.com>
2022-11-08 22:53:23 +00:00
Naud Ghebre 1725a26e29
Switch the way we retrieve the vm_service_port from /hub to iquery, on device. (#114834) 2022-11-08 17:54:18 +00:00
Zachary Anderson a84e369bd2
Revert "Allow Flutter golden file tests to be flaky (#114450)" (#114902)
This reverts commit 53e6876226.
2022-11-08 09:26:55 -08:00
Kate Lovett a1432a9c5d
Refactor fix_data.yaml (#114192)
* Refactor fix_data.yaml

* ++

* lib, not lib/src

* Nit

* Nit

* Update packages/flutter/test_fixes/material/app_bar_theme.dart

Co-authored-by: Alexander Dahlberg <dustbin4ever@gmail.com>

* Fix copy paste errors

Co-authored-by: Alexander Dahlberg <dustbin4ever@gmail.com>
2022-11-08 01:17:03 +00:00
Kate Lovett 53e6876226
Allow Flutter golden file tests to be flaky (#114450)
* allow marking a golden check as flaky

* add matchesFlutterGolden to analyze.dart; no tags for flutter_goldens/lib

* Pause

* ++

* ++

* Analyzer therapy

* Once more with feeling

* Nits

* Review feedback

* Silly oops

* Test progress

* More tests

* Finish

* Nits

* Analyzer

* Review feedback

Co-authored-by: Yegor Jbanov <yjbanov@google.com>
2022-11-08 01:14:03 +00:00
Greg Spencer 1ca2e0b5b2
Fix CastError in StadiumBorder.lerpTo and StadiumBorder.lerpFrom when using BorderRadiusDirectional (#114826)
* Fix casting in StadiumBorder lerp

* Add tests

* Fix made-up names
2022-11-07 23:29:52 +00:00
Jonah Williams e4e902dced
[flutter_tools] add compilation failure tests for new cases added in impellerc (#114757) 2022-11-07 20:59:13 +00:00
Bruno Leroux f1cdfa289d
Use AppBar.systemOverlayStyle to style system navigation bar (#104827)
* Use upper AnnotatedRegion properties when no bottom one found (and vice versa)

* Update comments

Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-11-07 20:42:56 +00:00
Bruno Leroux 5628ebf662
[RawKeyboard] Allow inconsistent modifiers for Web (#114499)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-11-07 20:41:09 +00:00
Pedro Massango e1adc96d5e
feat: provide a way to set the initial child's alignment (#114745)
InteractiveViewer.alignment parameter
2022-11-07 12:08:22 -08:00
Justin McCandless 3cde69e8d9
Revert "Revert "Scribble mixin (#104128)" (#114647)" (#114698)
Relands the "Scribble mixin" PR, which was reverted due to breaking a Google test in the last roll.
Breaks the Scribble feature out of TextInputClient in order to avoid breaking changes.
2022-11-07 11:28:27 -08:00
Victoria Ashworth 378387b139
when getting xcworkspace, exclude hidden files (#114099)
* exclude xcworkspace that begins with a period

* fix if spacing, add comment

* add unit test for when no xcworkspace found

* update to use xcodeWorkspace, make it nullable and refactor

* check if hostAppRoot exists before trying to get xcworkspace

* use local variables to take advantage of type promotion

* only check if not null, don't need to check if exists

* readd exist check for migrate

* readd missing line at end of file
2022-11-07 18:48:52 +00:00
Justin McCandless 7e36cf17e7
Mac Page Up / Page Down in text fields (#105497)
Adds support for Mac/iOS's behavior of scrolling (but not moving the cursor) when using page up/down in a text field.
2022-11-07 10:43:09 -08:00
陈昱 497a52809d
Fix TextField/CupertinoTextField hint style overflow not work. (#114335)
* fix text field hint style overflow not work, keep default ellipsis.

* fix cupertino text field hint style overflow not work, keep default ellipsis.

* add Cupertino placeholder style test.
2022-11-07 17:45:56 +00:00
Jason Simmons 496cf627e6
Delegate TestWindow.updateSemantics to the wrapped SingletonFlutterWindow (#114733)
This restores the updateSemantics capability in TestWindow that had been
removed in https://github.com/flutter/flutter/pull/113382
2022-11-07 17:27:50 +00:00
Hans Muller d6a8e92cd6
Revert "Adds support for the Material Badge widget, BadgeTheme, BadgeThemeData (#114560)" (#114819)
This reverts commit a6da1042a8.
2022-11-07 08:50:56 -08:00
Chris Bracken 3c9288c6d3
Increase minimum supported macOS version from 10.13 to 10.14 (#114713)
Increases the minimum macOS deployment target from macOS 10.13 (High Sierra) to 10.14 (Mojave) in the macOS app templates.

Includes:
* Update migration for macOS 10.11 apps to upgrade to 10.14
* Adds migration for macOS 10.13 apps to upgrade to 10.14
* Apply migration to all examples, and integration tests

This does not increase version in the plugin templates since those will need to wait until the 10.14 framework rolls to stable channel, so new plugins can build with apps created with `flutter create` on stable channel.

Issue: https://github.com/flutter/flutter/issues/114445
See RFC: http://flutter.dev/go/flutter-drop-macOS-10.13-2022-q4
See previous patch: https://github.com/flutter/flutter/pull/107689
2022-11-07 11:32:42 +01:00
Hans Muller a6da1042a8
Adds support for the Material Badge widget, BadgeTheme, BadgeThemeData (#114560) 2022-11-06 17:21:08 -08:00
Chris Bracken 5bc50c136b
Fix macOS migration nothing-to-upgrade test (#114703)
When testing whether a macOS deployment target version migration is
unnecessary due to already being at the target version, we were
previously checking the iOS deployment target version rather than the
macOS version. This updates it to test MACOSX_DEPLOYMENT_TARGET instead.
2022-11-05 17:02:46 -07:00
Tae Hyung Kim cef4c2aac8
ICU Message Syntax Parser (#112390)
* init

* code generation

* improve syntax error, add tests

* add tests and fix bugs

* code generation fix

* fix all tests :)

* fix bug

* init

* fix all code gen issues

* FIXED ALL TESTS :D

* add license

* remove trailing spaces

* remove print

* tests fix

* specify type annotation

* fix test

* lint

* fix todos

* fix subclass issues

* final fix; flutter gallery runs

* escaping for later pr

* fix comment

* address PR comments

* more

* more descriptive errors

* last fixes
2022-11-05 10:26:46 -07:00
xubaolin 1aada6fc5c
[New Feature]Support mouse wheel event on the scrollbar widget (#109659)
* rebase master and add a test

* fix the test

* fix the test

* fix the test
2022-11-05 00:57:52 +00:00
Chris Bracken 01507bab56
Revert "Switch the way we retrieve the vm_service_port from /hub to iquery, on device. (#114637)" (#114715)
Causes analysis errors:

```
   info • Specify type annotations • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:513:5 • always_specify_types
   info • Specify type annotations • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:514:10 • always_specify_types
   info • Avoid method calls or property accesses on a "dynamic" target • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:515:11 • avoid_dynamic_calls
   info • Specify type annotations • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:515:48 • always_specify_types
   info • Separate the control structure expression from its statement • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:515:77 • always_put_control_body_on_new_line
   info • Specify type annotations • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:516:7 • always_specify_types
   info • Avoid method calls or property accesses on a "dynamic" target • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:518:11 • avoid_dynamic_calls
   info • Specify type annotations • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:518:51 • always_specify_types
   info • Separate the control structure expression from its statement • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:518:77 • always_put_control_body_on_new_line
   info • Specify type annotations • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:519:7 • always_specify_types
   info • Avoid method calls or property accesses on a "dynamic" target • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:521:11 • avoid_dynamic_calls
   info • Specify type annotations • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:522:21 • always_specify_types
   info • Separate the control structure expression from its statement • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:522:58 • always_put_control_body_on_new_line
  error • The argument type 'dynamic' can't be assigned to the parameter type 'String' • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:524:38 • argument_type_not_assignable
   info • Specify type annotations • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:540:5 • always_specify_types
   info • Avoid escaping inner quotes by converting surrounding quotes • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:541:14 • avoid_escaping_inner_quotes
   info • Specify type annotations • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:542:5 • always_specify_types
  error • The argument type 'dynamic' can't be assigned to the parameter type 'List<dynamic>' • packages/fuchsia_remote_debug_protocol/lib/src/fuchsia_remote_connection.dart:544:45 • argument_type_not_assignable
   info • Remove unnecessary backslashes in strings • packages/fuchsia_remote_debug_protocol/test/fuchsia_remote_connection_test.dart:114:55 • unnecessary_string_escapes
   info • Remove unnecessary backslashes in strings • packages/fuchsia_remote_debug_protocol/test/fuchsia_remote_connection_test.dart:204:55 • unnecessary_string_escapes
   info • Remove unnecessary backslashes in strings • packages/fuchsia_remote_debug_protocol/test/fuchsia_remote_connection_test.dart:289:55 • unnecessary_string_escapes
```

This reverts commit b187bc474e.
2022-11-04 14:00:16 -07:00
Naud Ghebre b187bc474e
Switch the way we retrieve the vm_service_port from /hub to iquery, on device. (#114637)
* [fuchsia_remote_debug_protocol] Switch the way we retrieve the vm_service_port from /hub to iquery, on device.

* [fuchsia_remote_debug_protocol] Switch the way we retrieve the vm_service_port from /hub to iquery, on device.
2022-11-04 16:39:53 -04:00
chunhtai 80bf355192
Support keyboard selection in SelectabledRegion (#112584)
* Support keyboard selection in selectable region

* fix some comments

* addressing comments
2022-11-04 10:55:28 -07:00
Jenn Magder c1d2b854ef
Change some required nullable parameters in tool to non-null (#114115) 2022-11-04 17:36:01 +00:00
Callum Moffat 48457d736b
WidgetController.startGesture trackpad support (#114631) 2022-11-04 17:13:53 +00:00
Casey Hillers 9f6090c9ad
Revert "Fix text field label animation duration and curve" (#114646)
* Revert "Fix text field label animation duration and curve (#105966)"

This reverts commit d5c53b82e9.

* Add doubleTapTimer.cancel back
2022-11-03 18:47:54 -07:00
Casey Hillers 009fa69f3c
Revert "Scribble mixin (#104128)" (#114647)
This reverts commit b571abfbfd.
2022-11-03 17:17:30 -07:00
hellohuanlin 8a9ddade9a
[tools]validation basic Xcode settings for build ipa (#113412) (#114634) 2022-11-03 22:29:07 +00:00
Phil Quitslund 33b81ed954
fixes for incoming linter (#113794)
* fixes for incomming linter

* + todo

* todo format fix

* justify ignore

* --
2022-11-03 10:56:59 -07:00
Jason Simmons a440c4689f
Do not assume that pub is the first command run by "flutter create" (#114621)
The "flutter create" command on macOS may run other commands such as
openssl when it calls _getCodeSigningIdentityDevelopmentTeam
2022-11-03 10:46:18 -07:00
Zachary Anderson 0943693e85
Revert "[tools]validation basic Xcode settings for build ipa (#113412)" (#114615)
This reverts commit e6300da2c3.
2022-11-03 15:23:03 +00:00
hellohuanlin e6300da2c3
[tools]validation basic Xcode settings for build ipa (#113412) 2022-11-03 02:38:17 +00:00
Christopher Fujino 0211df9cfc
[flutter_tools] provide --timeout option to flutter drive (#114458) 2022-11-02 18:43:42 +00:00
Danny Tuppeny 3b0f8335ee
[flutter_tools/dap] Add a base Flutter adapter class to avoid duplication between adapters (#114533) 2022-11-02 18:38:46 +00:00
Danny Tuppeny 307987339e
[flutter_tools/dap] Map org-dartlang-sdk URIs to the location of the source files found by the analyzer (#114369) 2022-11-02 17:07:58 +00:00
Kate Lovett 0e70a97e2e
Refactor Animated[List, Grid, SliverList, SliverGrid] to share common code (#113793) 2022-11-02 16:54:11 +00:00
Jonah Williams 1cfdac4b23
Always invoke impeller ios shader target (#114451) 2022-11-02 16:43:07 +00:00
htoor3 9f23391733
[web] Changes to web keyboard selection shortcuts for more consistent behavior (#114264) 2022-11-02 15:41:05 +00:00
Darren Austin 6a66aa282f
Add Material 3 support for BottomAppBar (reland #106525) (#114439)
* Revert "Revert "Add Material 3 support for BottomAppBar" (#114421)"

This reverts commit 210a2aa371.

* Regenerated the defaults from tokens and fixed tests.

* Fixed the tests.

* Updated the shape token template to optimize the a common case.
2022-11-02 10:54:19 +00:00
Taha Tesser 97d0247d59
Add Material 3 support for Slider - Part 1 (#114079) 2022-11-01 19:31:00 -07:00
Elias Yishak 17ec3b1d15
[flutter_tools] Introducing arg option for specifying the output directory for web (#113076) 2022-11-01 22:50:02 +00:00
fzyzcjy 61deaef5df
Fix bug thattimeDilation is not reset, causing subsequent test errors, and add verifications to ensure such problem does not exist in the future (#113830) 2022-11-01 22:50:00 +00:00
fzyzcjy c23b5ca7db
Fix addToScene documentation (#113987) 2022-11-01 22:18:52 +00:00
fzyzcjy e37ab48bca
Introduce debugWithActiveLayoutCleared to avoid duplicated code (#114003) 2022-11-01 22:17:11 +00:00
fzyzcjy fb9065fe00
Layer ... was previously used as oldLayer assertion error in debug mode, and page being blank in release mode, caused by LeaderLayer addToScene bug (#113998) 2022-11-01 22:17:08 +00:00
Taha Tesser eadda3c393
Add Material 3 Popup Menu example and update existing example (#114228) 2022-11-01 22:10:45 +00:00
Justin McCandless 93b0042559
Handle dragging improvements (#114042)
Improves the feel of dragging text selection vertically between lines on mobile.
2022-11-01 12:36:51 -07:00
chunhtai d0afbd72a7
Revert "Overlay always applies clip (#113770)" (#114442)
This reverts commit 103a5c98b8.
2022-11-01 12:05:01 -07:00
Justin McCandless 8a8b361770
Use hintText's TextStyle overflow (#114378)
hinText's overflow can now be set via hintStyle (in InputDecoration)
2022-11-01 10:19:45 -07:00
Zachary Anderson 210a2aa371
Revert "Add Material 3 support for BottomAppBar" (#114421) 2022-11-01 15:12:09 +00:00
Talat El Beick 0e98194681
Add Material 3 support for BottomAppBar (#106525) 2022-11-01 00:42:33 -07:00
fzyzcjy 3894a069b6
Minor code cleanup: remove redundant return (#114290) 2022-11-01 06:54:29 +00:00
Alex Li 0f1d0e39e9
🎨 Improve exceptions thrown by asset bundle (#114313) 2022-11-01 05:33:33 +00:00
Darren Austin c2edb20f3d
Added token files for badges and lists. (#114382) 2022-10-31 21:18:37 -07:00
Greg Spencer 37b72342b0
Add maybeOf for all the cases where of returns nullable. (#114120) 2022-10-31 23:09:09 +00:00
Gary Qian 7ab2bf8ff7
Delete flutter_migrate code (#114253) 2022-10-31 17:52:05 +00:00
Flutter GitHub Bot f186e1bd3e
Roll pub packages (#114363) 2022-10-31 17:37:06 +00:00
Jonah Williams 4f19a9fa46
[flutter_tools] Add support for compiling shaders to JSON bundle for web (#114295) 2022-10-31 16:52:09 +00:00
fzyzcjy c8fc2858de
Fix incorrectly named "debug" prefix (#114117) 2022-10-31 15:39:52 +00:00
chunhtai fa174b2343
SingleChildScrollView does not clip semantics child (#114194) 2022-10-28 23:00:22 +00:00
Justin McCandless 0b451b6dfd
Context Menus (#107193)
* Can show context menus anywhere in the app, not just on text.
* Unifies all desktop/mobile context menus to go through one class (ContextMenuController).
* All context menus are now just plain widgets that can be fully customized.
* Existing default context menus can be customized and reused.
2022-10-28 12:40:09 -07:00
Flutter GitHub Bot ef1236e038
Roll pub packages (#114189) 2022-10-28 19:15:08 +00:00
Qun Cheng cc435d673e
Fix Color Scheme Defaults in Material 3 (#112666) 2022-10-28 10:30:59 -07:00
xubaolin 8469896c5a
Fix DDS do not support Curves.easeInOutBack curve (#114222) 2022-10-28 17:24:58 +00:00
Kenzie Davisson cdbb1e6037
Move Widget Inspector service extensions from DevTools to Flutter (#113861) 2022-10-28 17:16:03 +00:00
Liam Appelbe ea0ddc94cc
Fix NPE in coverage collector (#114177) 2022-10-27 19:24:00 -07:00
Jenn Magder 28ab431096
Make Logger required when injected in flutter_tool (#114111) 2022-10-27 22:40:08 +00:00
chunhtai c6f6095acd
Remove RouteSetting.copyWith (#113860) 2022-10-27 22:09:05 +00:00
Jenn Magder 15e694414c
Terminate simulator app on "q" (#114114) 2022-10-27 22:06:35 +00:00
Victoria Ashworth 8aad1190b7
Check for watch companion in build settings (#114078) 2022-10-27 22:05:05 +00:00
Adel Khial cece4a5d19
Fix typo in flutter.gradle (#114143) 2022-10-27 22:05:03 +00:00
fzyzcjy d93208a60b
Fix logical error in TimePickerDialog - the RenderObject forgets to update fields (#112040) 2022-10-27 22:05:02 +00:00
Christopher Fujino d40f6d1e68
[flutter_tools] allow flutter drive to take screenshots when sent a terminating signal (#114118) 2022-10-27 18:51:15 +00:00
Alex Wallen 23d258df57
Remove deprecated updateSemantics API usage. (#113382) 2022-10-26 20:20:41 +00:00
pdblasi-google 671c532019
107866: Add support for verifying SemanticsNode ordering in widget tests (#113133) 2022-10-26 20:17:15 +00:00
Zachary Anderson e334ac1122
Revert "Update Cupertino text input padding (#113958)" (#114102)
This reverts commit 51acda81f2.
2022-10-26 12:59:05 -07:00
Mitchell Goodwin 51acda81f2
Update Cupertino text input padding (#113958)
* Update Cupertino text input padding

* Remove comment
2022-10-26 11:49:26 -07:00
nbayati 235a3252d2
Provide test API for accessibility announcements (#109661) 2022-10-26 18:05:07 +00:00
Jenn Magder 609b8f3219
Revert part of "Terminate simulator app on "q" (#113581)" (#114083) 2022-10-26 10:26:14 -07:00
Lucas Britto 5d93894264
[flutter_tools] Decouple fatal-warnings check from fatal-infos (#113748) 2022-10-26 16:44:25 +00:00
Marcel Čampa d988c11a87
Expose alwaysShowMiddle in CupertinoSliverNavigationBar (#113544)
* SLFLF-5: Expose `alwaysShowMiddle` in `CupertinoSliverNavigationBar`

* SLFLF-5: Remove space in docstring

* SLFLF-5: Add test and update documentation

* SLFLF-5: Remove trailing whitespace (again)
2022-10-26 09:28:44 -07:00
Jackson Gardner cb534057e7
Don't specify libraries-spec argument if we are passing a platform dill. (#114045) 2022-10-26 16:05:08 +00:00
hangyu e739ad0782
M3 Text field UI update (#113776)
* text field update

* update tests

* lint

* polish template
2022-10-26 16:32:58 +08:00
M. Javad Pourqavam d5c53b82e9
Fix text field label animation duration and curve (#105966) 2022-10-25 17:08:21 -07:00
fzyzcjy e39fa7a836
Fix wasted memory caused by debug fields - 16 bytes per object (when adding that should-be-removed field crosses double-word alignment) (#113927) 2022-10-25 23:31:14 +00:00
kye shimizu b816801abd
fix to add both flutter_test and integration_test (#109650) 2022-10-25 23:29:54 +00:00
Greg Spencer 8c3806f817
Add parentNode to FocusScope widget (#114034) 2022-10-25 22:31:05 +00:00
Qun Cheng 3ce88d3813
Replace menu defaults with tokens (#113963) 2022-10-25 14:46:34 -07:00
youssef ali a30d816aaa
fix stretch effect with rtl support (#113214) 2022-10-25 16:09:09 -05:00
Tomasz Gucio e76f88316a
Cache TextPainter plain text value to improve performance (#109841) 2022-10-25 22:51:35 +02:00
Taha Tesser df259c5881
Add clipBehavior and apply borderRadius to DataTable's Material (#113205) 2022-10-25 20:38:11 +00:00
Jenn Magder 9f5c6553bc
Revert "Check for watch companion in build settings (#113956)" (#114035)
This reverts commit e13372188f.
2022-10-25 13:33:35 -07:00
Victoria Ashworth e13372188f
Check for watch companion in build settings (#113956) 2022-10-25 20:08:19 +00:00
Jason Simmons ae143ad8d1
Hide debug logs from a MemoryAllocations test that intentionally throws an exception (#113786) 2022-10-25 19:53:54 +00:00
Alex Wallen 92d8b04bac
[macOS] Flavors project throws no flavor specified for creating a project. (#113979) 2022-10-25 19:50:50 +00:00
Gary Qian b373be8891
Upgrade gradle for flutter tool to 7.3.0 (#114023) 2022-10-25 19:49:51 +00:00
Greg Spencer dbbef15a53
Add Focus.parentNode to allow controlling the shape of the Focus tree. (#113655) 2022-10-25 19:32:30 +00:00
Tomasz Gucio 563e0a4aae
Page Up / Page Down in text fields (#107602) 2022-10-25 16:54:10 +00:00
陈昱 b375b4ac87
Fix an issue that Dragging the iOS text selection handles is jumpy and iOS text selection update incorrectly. (#109136)
Better text selection handle dragging experience on iOS.
2022-10-25 08:58:53 -07:00
Danny Tuppeny 3599b3a877
Add support for expression compilation when debugging integration tests (#113481)
Fixes #79439.
2022-10-25 15:34:22 +01:00
Taha Tesser 7f75d24164
Add Material 3 ProgressIndicator examples (#113950) 2022-10-25 07:27:08 +00:00
Taha Tesser b0e7c9c4f0
Move AnimatedIcons example and fix typo in cupertino/text_selection_toolbar.dart (#113937) 2022-10-25 07:27:06 +00:00
Taha Tesser 400136b007
Fix Slider overlay and value indicator interactive behavior on desktop. (#113543) 2022-10-25 07:25:16 +00:00
xubaolin 6154b3b4bd
Improve Scrollbar drag behavior (#112434) 2022-10-24 23:45:04 +00:00
Kate Lovett 806fb93c21
Fix ScrollPosition.isScrollingNotifier.value for pointer scrolling (#113972) 2022-10-24 23:03:50 +00:00
Darren Austin 884f4d0582
Updated the Material Design tokens used to generate component defaults to v0.137. (#113970) 2022-10-24 15:53:03 -07:00
Liam Appelbe 0c14308404
Add branch coverage to flutter test (#113802) 2022-10-24 14:31:17 -07:00
Greg Spencer 5259e1bc6d
Add --empty to the flutter create command (#113873) 2022-10-24 21:20:03 +00:00
Renzo Olivares 3c2f500b1b
Fix edge scrolling on platforms that select word by word on long press move (#113128) 2022-10-24 21:14:54 +00:00