Commit graph

15320 commits

Author SHA1 Message Date
Pierre-Louis a7f5fd5360
Update documentation link (#71401) 2020-11-30 13:14:13 +01:00
Pierre-Louis 183f0e797a
Update FAB elevation to match spec (#69312)
* Update floating_action_button.dart

* Fix default hover elevation

* revert letter spacing change

* add test

* Update floating_action_button.dart

* Update floating_action_button_test.dart
2020-11-26 19:12:28 +01:00
Jia Hao 8de72126e9
[flutter_tools] Don't fail copying files if the destination is not writable (#71215) 2020-11-25 15:48:03 -08:00
Juyeong Lee 9806865b49
Add dartpad sample for AnimatedPadding (#71050) 2020-11-25 13:43:05 -08:00
creativecreatorormaybenot 508c4b4d29
Correct flutter_test flutter_test_configuration.dart documentation (#70862) 2020-11-25 13:38:05 -08:00
creativecreatorormaybenot 57d0f924c4
[flutter] Update package README (#70968) 2020-11-25 12:58:03 -08:00
Andrey Kabylin e118e1a623
fix #24469 and #67354 (#69668) 2020-11-25 09:28:03 -08:00
Christopher Fujino 96d330a204
Revert "Revert "Implement dryLayout for RenderAnimatedSize (#71097)" (#71180)" (#71185)
This reverts commit 358f9b0ee6.
2020-11-24 16:29:39 -08:00
Christopher Fujino 358f9b0ee6
Revert "Implement dryLayout for RenderAnimatedSize (#71097)" (#71180)
This reverts commit b18f1b81fe.
2020-11-24 15:46:58 -08:00
Michael Goderbauer b18f1b81fe
Implement dryLayout for RenderAnimatedSize (#71097) 2020-11-24 12:28:04 -08:00
Jenn Magder 9bbc2177ec
Move Flutter.podspec to add-to-app project template (#71103) 2020-11-24 10:16:09 -08:00
Jenn Magder e6bd95bc5c
Use module Profile scheme when profiling (#70896) 2020-11-23 14:10:58 -08:00
Jenn Magder 3379435185
iOS aot assembly requires SDK root (#71094) 2020-11-23 14:10:10 -08:00
Hans Muller 89a7bf7791
Remove private OutlinedButton default outline geometry class (#70975) 2020-11-23 14:03:47 -08:00
Jenn Magder 3a479e7efd
Rename SdkType -> EnvironmentType (#71095) 2020-11-23 14:03:03 -08:00
Amir Hardon 7df04fdbd3
Revert "Migrate template to Gradle 6.7 and AGP 4.1.0 (#70808)" (#71096)
This reverts commit 8e73bab94c.
2020-11-23 12:27:36 -08:00
Darren Austin 8737472af1
Exposed the YearPicker as a public API again to match the previous API. (#71061) 2020-11-23 12:18:18 -08:00
Masaaki Kakimoto(柿本匡章) accedc6794
Add current version to the upgrade message of the Flutter tool (#68421) 2020-11-23 12:08:53 -08:00
Yazeed AlKhalaf bcdee0ac74
🚀 AdoptAWidget: IgnorePointer (#70185)
*  Add IgnorePointer Widget dartpad

* 🐛 Fix grammatical issues in docs of IgnorePointer

*  Remove trailing spaces
2020-11-23 09:45:37 -08:00
Anurag Roy 5fbbd73a76
[FloatingActionButtonLocation] Add diagrams to documentation of FloatingActionButtonLocation (#70184) 2020-11-23 09:43:05 -08:00
GodHyum 20b68c28a2
FloatingActionButton always keeps the same position when FloatingActionButtonLocation is top. (#64746) 2020-11-23 09:38:03 -08:00
Chulwoo Park de56c6ad72
Remove unnecessary argument from Row and Column constructor comments (#71041) 2020-11-22 12:28:06 -08:00
Jonah Williams cf6c33e58a
[flutter_tools] fix port leak in flutter_driver (#70999) 2020-11-21 14:04:01 -08:00
Per Classon 226532b157
[Material] Add selection control themes (#70311) 2020-11-21 03:08:04 -08:00
Emmanuel Garcia 61dfbfe105
Wait for Android plugin to load before configuring plugin dependency (#70970) 2020-11-20 18:03:39 -08:00
Michael Goderbauer 7a3a29e71f
Fixes Intrinsics for RenderParagraph and RenderWrap (#70656) 2020-11-20 17:24:58 -08:00
Kate Lovett 63e328f7f0
Fix pointer scroll for nested NeverScrollables (#70953) 2020-11-20 17:18:04 -08:00
Jonah Williams 974661924b
[flutter_tools] disable SWR optimization on dev (#70912) 2020-11-20 16:27:21 -08:00
Darren Austin c5f8edd9ee
Material Date Picker code restructure (#70708)
Date Picker restructuring. Moved files out of 'pickers' and merged several of the non-public implementation files into date_picker.dart.
2020-11-20 15:20:09 -08:00
Ian Hickson d4b871e1a7
Minor documentation fixes (#70501) 2020-11-20 14:28:03 -08:00
Jonah Williams 613a959878
only use code single path for verification of target file existence (#70962) 2020-11-20 14:17:11 -08:00
Chris Yang ffe5197e19
refactor (#70959) 2020-11-20 13:13:04 -08:00
Emmanuel Garcia 8e73bab94c
Migrate template to Gradle 6.7 and AGP 4.1.0 (#70808) 2020-11-20 13:05:35 -08:00
Jonah Williams c07661cbc5
[flutter_tools] share bootstrap module between run and test (#70903) 2020-11-20 12:11:24 -08:00
Jonah Williams 1efb36035e
[flutter_tools] display message for current null safety mode (#70718) 2020-11-20 11:53:02 -08:00
Chris Yang 4e88f6a103
flutter_tools: refactor CreateCommand. (#70874) 2020-11-20 10:58:03 -08:00
Jenn Magder c2d1203f26
Remove deprecated 'flutter build aot' (#70898) 2020-11-20 10:46:12 -08:00
J-P Nurmi e51183763b
[flutter_tools] deploy version.json asset on Linux (#69920) 2020-11-20 10:23:04 -08:00
Per Classon a9b4c1454b
[Material] Decoration for DataTable is not used inside PaginatedDataTable (#70603) 2020-11-20 09:13:05 -08:00
Greg Spencer de884f1afe
Remove the nullOk parameter from Navigator.of and add Navigator.maybeOf (#70726)
Adds Navigator.maybeOf to replace calling Navigator.of(context, nullOk: true), and removes the nullOk parameter. Also changes Navigator.of to return a non-nullable value, and removes many (120!) instances of the ! operator, reducing the possible places where a null dereference could occur.
2020-11-20 09:10:46 -08:00
Anurag Roy 05dadb0120
[flutter_tools] Make flutter upgrade --verify-only display framework version differences instead of commit hashes (#69420) 2020-11-19 18:03:05 -08:00
Kate Lovett f4a0511e8b
Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' (#70893) 2020-11-19 17:48:04 -08:00
Jonah Williams a76289bb1b
[flutter_tools] run web unit tests in sound null safety (#70799) 2020-11-19 16:49:05 -08:00
Pierre-Louis 598627cd3b
Fix typo (#70834) 2020-11-19 16:43:09 -08:00
Juyeong Lee 5819aef435
Update FlexibleSpaceBar dartpad sample (#70382) 2020-11-19 16:43:04 -08:00
Yegor 535a4ac3ab
Clean-up docs for the --web-renderer option (#70880) 2020-11-19 16:41:09 -08:00
Jonah Williams 7086a2f43b
Revert "[flutter_tools] wire up alternative invalidation strategy to features (#70865)" (#70884)
This reverts commit ef4741540b.
2020-11-19 14:01:39 -08:00
Jenn Magder 37f4f1f281
Detect ARM ffi CocoaPods error, suggest gem install (#70801) 2020-11-19 13:17:57 -08:00
Jonah Williams ef4741540b
[flutter_tools] wire up alternative invalidation strategy to features (#70865) 2020-11-19 13:13:51 -08:00
Jonah Williams 4832e64cad
[flutter_tools] remove globals from flutter web platform (#70863) 2020-11-19 13:06:30 -08:00
Jonah Williams 085ff127ae
[flutter_tools] skip ck restart on all platforms (#70853) 2020-11-19 12:24:22 -08:00
Chinmoy d2f06f6f05
Added enableFeedback property PopupMenuButton (#69890) 2020-11-19 10:13:05 -08:00
Dan Field 3a2ebb5ccd
remove ephemeral files (#70818) 2020-11-19 10:03:09 -08:00
Jason Simmons 93fbaf157c
Fix type cast null safety in MethodChannel._invokeMethod (#70809) 2020-11-19 07:33:04 -08:00
Jonah Williams c6290500f8
[flutter_tools] update dependencies (#70797) 2020-11-18 17:29:28 -08:00
Jonah Williams f8940709b2
[flutter_tools] refactor shared memory filesystem logic (#70795) 2020-11-18 17:29:13 -08:00
Jonah Williams 42c9c22553
Revert "Stop extra framework copy during build ios-framework (#70790)" (#70802)
This reverts commit a9a35d10a4.
2020-11-18 17:05:33 -08:00
Jenn Magder a9a35d10a4
Stop extra framework copy during build ios-framework (#70790) 2020-11-18 15:00:28 -08:00
Jonah Williams cfb63356c3
[flutter_tools] use frontend_server for web test compilation (#70714) 2020-11-18 14:55:26 -08:00
Jonah Williams f4e79e6828
[flutter_tools] add support for dart defines to flutter test (#70791) 2020-11-18 14:52:49 -08:00
Jenn Magder e26c7f98ff
Force regeneration of old Podfile (#70735) 2020-11-18 13:33:04 -08:00
Chinmoy 830bdfa301
added none property in a DismissDirection (#68987) 2020-11-18 13:28:03 -08:00
nero af616a0bca
[Tabs] Fix tab indicator flies off issue (#65463) 2020-11-18 10:13:04 -08:00
stuartmorgan be4cc764de
Clean up Windows plugin template (#70403)
Removes a comment that is left over from early iterations of the
template.
2020-11-18 10:01:53 -08:00
Pierre-Louis 2f17d4e017
Adaptive icons (#69119)
* refactor update_icons

* fix trailing space

* address feedback

* add platform adaptive icons

* fix merge conflict

* Update dartdoc

* Address feedback

* Specify types

* Add tests

* fix indentation

* Remove trailing space

* Remove isCupertino static bool
2020-11-18 16:04:38 +01:00
Dan Field be2e7bb1c0
Revert "Revert "Allow any iOS app to be added to an existing host app (#70647)" (#70739)" (#70740)
This reverts commit aab9a76ee4.
2020-11-17 22:19:50 -08:00
Dan Field aab9a76ee4
Revert "Allow any iOS app to be added to an existing host app (#70647)" (#70739)
This reverts commit abdd65fc29.
2020-11-17 21:40:28 -08:00
Jenn Magder abdd65fc29
Allow any iOS app to be added to an existing host app (#70647) 2020-11-17 18:53:03 -08:00
Shi-Hao Hong 94ca7b4ad2
[gen-l10n] NNBD generated code (#70415)
* NNBD gen-l10n generated code
2020-11-18 10:14:38 +08:00
xubaolin d8167b90e2
Deprecated unused property [RectangularSliderTrackShape.disabledThumbGapWidth] (#65246) 2020-11-17 16:18:34 -08:00
MH Johnson 5df335ad0e
[Material] Add method to get dark mode overlay color without needing BuildContext (#70669) 2020-11-17 16:13:03 -08:00
Yash Johri 178b4b8320
Updated tests in material/bottom_navigation_bar_test.dart (#66670) 2020-11-17 16:08:03 -08:00
Ben Konyi 4cbafda853
Roll package:dds to 1.5.1 and add isCompleted guards around completers in base/dds.dart (#70712) 2020-11-17 16:03:18 -08:00
Ben Konyi f6bedddd9f
Support legacy behavior for --host-vmservice-port and --observatory-port with DDS (#70336)
Implements the following:
  - If both --host-vmservice-port and --dds-port are specified, use the current behavior
  - If only --host-vmservice-port is specified and dds is enabled, use that for the dds port
  - If only --dds-port is specified, use that for the dds port

Fixes https://github.com/flutter/flutter/issues/70332
2020-11-17 16:03:02 -08:00
Jonah Williams fa41afa82e
[flutter_tools] reduce build bundle API (#70514) 2020-11-17 11:55:20 -08:00
Jonah Williams 8d15fa3936
[flutter_tools] remove unused/deprecated asset flags (#70509) 2020-11-17 11:02:14 -08:00
Aneesh Rao 93828d35ac
AdoptAWidget - Progress indicator (#69498)
* Add examples for LinearProgressIndicator

* Add examples for CircularProgressIndicator

* Change name Linear  -> Circular

* Remove unnecessary changes

* Add images to docs

* Fix semi-colon bugs

* Fix trailing spaces

* Fix more semicolon bugs

* Remove imports in docs

* Remove error causing line breaks

* Add ticker providers

* Add more ticker providers

* Remove assets and combine samples

* Removed 6 samples

* Remove unnecessary animation

Co-authored-by: John Ryan <ryjohn@google.com>

* Remove unnecessary animation

Co-authored-by: John Ryan <ryjohn@google.com>

* Use material theme

Co-authored-by: John Ryan <ryjohn@google.com>

* Apply suggestions from code review

Co-authored-by: John Ryan <ryjohn@google.com>
2020-11-17 10:42:59 -08:00
Jenn Magder 2529e358b6
Move Flutter.framework to build directory instead of ios/Flutter (#70224) 2020-11-17 10:09:29 -08:00
xubaolin 543d3cfa57
Add a [valid] property of [MouseTrackerAnnotation] indicates the annotation states. (#69866) 2020-11-17 08:03:02 -08:00
Jim Graham e803b13f01
Revert "Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' (#70401)" (#70675)
This reverts commit 9b56241eef.
2020-11-16 22:55:59 -08:00
Jonah Williams 9618788e28
[flutter_tools] remove globals from features (#70515) 2020-11-16 15:00:37 -08:00
Jenn Magder 148ae7bf71
Always build x86 mac apps (#70649) 2020-11-16 14:53:04 -08:00
Greg Spencer 5ddc057636
Remove last references to Window in docs. (#70637)
This removes the last couple of doc references to the Window class in the framework, so that I can re-land the engine side change that removes the Window class (flutter/engine#22505).
2020-11-16 14:52:24 -08:00
Marcus Tomlinson 343577afb6
Add liblzma as an explicit dependancy on Linux (#70617) 2020-11-16 14:48:02 -08:00
Jenn Magder b84fb90400
Remove unused host_app_editable_cocoapods template files (#70518) 2020-11-16 14:33:43 -08:00
Kate Lovett 9b56241eef
Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' (#70401) 2020-11-16 14:47:04 -06:00
Anna Gringauze f9df1935fe
[flutter_tools] Add bot configuration to run web_tool_tests for linux, mac, and windows (#70412)
* Move web integration tool tests to web.shard

Web integration tool tests depend on DDC changes in SDK. This change
moves them to a separate shard and subshard so CI bot configurations
can run them separately.

In particular, with will allow running those tests on dart CI flutter
HHH web bot instead of a non-web one, allowing early detection and easy
classification of issues caused by SDK changes as VM- or Web related.

* Enabled verbose mode for flaky web_tool_tests

* fixed local engine crash with --enable-asserts

* Disable failing tests, fix local engine with asserts

* Removed mac web_tool_tests bot

* Addressed CR comments

* Add disabled mac web_tool_tests and disable win web_tool_tests
2020-11-16 11:50:57 -08:00
Ian Hickson 6cff33832e
More lints (#70500) 2020-11-16 11:07:37 -08:00
IsmailAbdirahman 9a2bf0e70f
AdoptAWidget: NotificationListener (#69524)
* Added notificationListner sample code

* Fixed spacing

* fixed spacing

* Moved the variables into the Build method

* fixed typos

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>
2020-11-16 10:30:41 -08:00
Jason Simmons a56584857f
Ignore text selection boxes when assembling semantics for placeholder runs (#70487) 2020-11-16 10:28:03 -08:00
tiya adc8a42b38
Add bottom to search bar (#68794) 2020-11-16 12:07:20 -05:00
Jonah Williams 836efaecf0
[flutter_tools] stop unit test from writing real file (#70511) 2020-11-13 21:51:04 -08:00
Jia Hao 87746c7674
[integration_test] Reland add a run method for proper reporting of test results (#70513)
* [integration_test] Reland add a `run` method for proper reporting of test results

* Changes to path resolving from previous PR
2020-11-13 19:39:05 -08:00
creativecreatorormaybenot 85f0aea87e
Add stackTrace to AsyncSnapshot (#69507) 2020-11-13 17:13:02 -08:00
Greg Spencer 2d836a99b6
Remove some unnecessary casts, now that changes have rolled from the engine (#70491) 2020-11-13 16:28:06 -08:00
Jonah Williams 6e84a14294
Revert "Simplify the flutter_web_plugins plugin registration API. (#70337)" (#70505)
This reverts commit 8749d95521.
2020-11-13 16:04:53 -08:00
Anna Gringauze d5b1cc5b9f
Disable failing test due to SDK issue (#70485)
* Disable failing test due to SDK issue

* Disable failing debugger and hot reload windows tests
2020-11-13 14:15:31 -08:00
Ian Hickson 8749d95521
Simplify the flutter_web_plugins plugin registration API. (#70337)
In principle this is backwards compatible; I just merged all the classes into one and deprecated everything that became redundant as a result.
2020-11-13 14:05:34 -08:00
Jonah Williams 8436c6ab7e
remove testUsingContext (#70482) 2020-11-13 13:23:03 -08:00
Jonah Williams f98c468317
[flutter_tools] remove unused JSON schema (#70480) 2020-11-13 13:02:40 -08:00
Kate Lovett 477a4241ea
Revert "Actually consume top padding in bottomsheet if scrollcontrolled (#66257)" (#70392) 2020-11-13 12:18:03 -08:00
Jonah Williams a86dab0c40
[flutter_tools] remove automatic doctor from flutter create (#70475) 2020-11-13 11:44:10 -08:00
Michael Goderbauer b555b1a607
Enable test after engine fix (#70469) 2020-11-13 10:13:04 -08:00
Jonah Williams 0a73ecf6df
[flutter_tools] use initially parsed package config for language version, sound mode determination (#70323) 2020-11-13 09:41:11 -08:00
Jonah Williams ed977dd6a4
Revert "[integration_test] Add a run method for proper reporting of test results (#70075)" (#70466)
This reverts commit af5eb3b987.
2020-11-13 09:01:09 -08:00
Jia Hao af5eb3b987
[integration_test] Add a run method for proper reporting of test results (#70075) 2020-11-13 19:57:15 +08:00
Greg Spencer 9860f52ea5
Add casts to widgets_test.dart to fix the engine roll. (#70423) 2020-11-12 18:14:03 -08:00
Greg Spencer b47126df6c
Allow propagation to ancestor actions if actions lower down are disabled (#70404)
Change the semantics of Actions.invoke so that if the action it finds is disabled, then it keeps looking for an ancestor Actions widgets that has a matching intent where the action is not disabled.
2020-11-12 17:15:54 -08:00
Jonah Williams 0b88269807
[flutter_tools] remove branch migration and standardize constructor style for version interface (#70058) 2020-11-12 15:29:03 -08:00
Jenn Magder d11859fee7
Add -miphoneos-version-min=8.0 to App framework stub (#70405) 2020-11-12 15:14:53 -08:00
Darren Austin 1c7e34bb20
Migrate flutter_localizations to null safety. (#68645)
Migrate flutter_localizations to null safety.
2020-11-12 15:13:51 -08:00
Michael Goderbauer cca1215939
Properly initialize RestorationManager in the TestBinding (#70398) 2020-11-12 13:59:05 -08:00
Michael Goderbauer c7f092515c
Fix return type of ContextAction.invoke (#70397) 2020-11-12 13:54:03 -08:00
Jonah Williams 5fedad9173
[flutter_tools] allow using flutter test for testing the tool too (#69911) 2020-11-12 13:52:09 -08:00
Todd Volkert f8d2f58b52
Ignore DismissIntent when barrier is not dismissible (#70156) 2020-11-12 11:45:32 -08:00
Greg Spencer 86f9ab511e
Revert usages of the binding's platformDispatcher to use window instead (#70319)
This reverts usages of the binding's platformDispatcher to use window again temporarily, because there isn't a TestPlatformDispatcher yet, and so some tests were failing because they mocked the TestWindow to return certain things (locales) that were returning the real values instead of the test values.

Once I've created a TestPlatformDispatcher to allow fake data to be passed to it, we can go back to using the platformDispatcher in all of these places
2020-11-12 11:17:00 -08:00
Hans Muller c6d4a6ef5c
Update OutlinedButton default outline geometry to be backwards compatible (#70393) 2020-11-12 10:36:39 -08:00
Greg Spencer 0937207f5b
Fix Platform channel errors in web tests (#70252) 2020-11-12 10:24:07 -08:00
Jonah Williams 0c79659900
[flutter_tools] make most integration tests null safe (#70334) 2020-11-12 10:23:03 -08:00
Michael Goderbauer b5a4d08962
Intrinsic Width fixes for RenderParagraph (#70236) 2020-11-12 10:19:03 -08:00
Zachary Anderson 3fce16c329
Revert "Default Keyboard ScrollActions with PrimaryScrollController (#69795)" (#70391)
This reverts commit 1f0df54553.
2020-11-12 09:49:12 -08:00
Anna Gringauze edf26e756d
Move web integration tool tests to web.shard (#70226)
* Move web integration tool tests to web.shard

Web integration tool tests depend on DDC changes in SDK. This change
moves them to a separate shard and subshard so CI bot configurations
can run them separately.

In particular, with will allow running those tests on dart CI flutter
HHH web bot instead of a non-web one, allowing early detection and easy
classification of issues caused by SDK changes as VM- or Web related.

* Enabled verbose mode for flaky web_tool_tests

* Split out the test changes to be commited first
2020-11-11 15:42:15 -08:00
J-P Nurmi 153f3d23c3
Fix Editable(Text) shortcuts to respect read-only on desktop (#69891) 2020-11-11 15:34:05 -08:00
Jonah Williams 22ec357bc4
[flutter_tools] make getBuildInfo async (#70320) 2020-11-11 15:33:23 -08:00
Jonah Williams 0f80116a63
[flutter_tools] improve hash performance in build_system (#70065) 2020-11-11 15:31:07 -08:00
Kate Lovett 1f0df54553
Default Keyboard ScrollActions with PrimaryScrollController (#69795) 2020-11-11 15:29:05 -08:00
Omar Emara 273efff072
Correct GtkKeyHelper key codes for the Meta key (#69576) 2020-11-11 15:24:04 -08:00
Jonah Williams a40ee8a3fb
[flutter_tools] migrate .packages to package_config, partial (#70200) 2020-11-11 13:50:41 -08:00
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
Jonah Williams 6fe800abd5
[null-safety] remove enable experiment flags (#69930) 2020-11-05 23:58:11 -08:00
Darren Austin 4c1d015e9e
Reland "Updated SearchDelegate to follow custom InputDecorationTheme" (#69653) 2020-11-05 23:54:01 -08:00
Tong Mu e1712ccefc
Reland: Fix a multiple pointers bug
This relands #68587
2020-11-05 18:38:15 -08:00
Dan Field 76784651d4
Move package:integration_test to flutter/flutter (#69622) 2020-11-05 17:28:47 -08:00
Jonah Williams a3f6ea6f38
[flutter_tools] split web integration tests into new shard (#69914) 2020-11-05 17:21:44 -08:00
Shi-Hao Hong a1a096e35a
[gen-l10n] Fix untranslated messages (#68553) 2020-11-05 16:24:02 -08:00
Jonah Williams dd8820bcc1
[flutter_tool] initialize flutter root in executable (#69549)
initialize the flutter root as early as possible. This allows all interfaces to be normally injected into commands, even if those objects might read from the flutter root.
2020-11-05 15:21:05 -08:00
Jenn Magder bc2a4a6498
Update CocoaPods recommended version to 1.9 (#69809) 2020-11-05 15:13:22 -08:00
Jonah Williams ed1189259e
[flutter_tools] forward all args to pub (#69784)
Change forwarding command to pass through all args, even -h - this allows flutter to support all of the pub flags without needing to declare them.
2020-11-05 14:23:24 -08:00
Jenn Magder 1be922c353
Build either iphoneos or iphonesimulator App.framework, not both (#69840) 2020-11-05 14:22:24 -08:00
Jonah Williams 0823d625bc
[null-safety] update version constraint (#69900) 2020-11-05 11:39:26 -08:00
LongCatIsLooong 24c6266230
Adaptive constructor / TextInputAction docs (#69346) 2020-11-05 10:49:03 -08:00
Dan Field cfcb9887c9
Do not use --first-parent when determining version on master (#69726) 2020-11-05 10:11:32 -08:00
Yegor 496efca12f
choose higher-res images on low-DPR screens (#69799) 2020-11-05 10:10:53 -08:00
Jonah Williams e8efde6a54
[versions] update more null safe versions (#69892) 2020-11-05 09:09:03 -08:00
Chinmoy 0afea99b26
added enableFeedback property to ListTile (#69088) 2020-11-05 08:43:02 -08:00
Vyacheslav Egorov 4c24eb10b8
Revert "Fix: fix android studio 4.1 plugin path for macOS" (#69870)
This reverts commit 422a97d1e5 due to https://github.com/flutter/flutter/issues/69863
2020-11-05 11:18:00 +01:00
Jenn Magder 58ba70a6e7
Remove add-to-app Xcode build phase input files (#69846) 2020-11-04 23:26:59 -08:00
Jason Simmons 9470a7e864
Revert "[null-safety] update Dart SDK constraints (#69831)" (#69854)
This reverts commit e375651cc5.
2020-11-04 21:49:59 -08:00
Lazy Llama 300e1df737
Reduce refresh indicator pull-down distance and update related tests (#69783)
Co-authored-by: altherat <contact@altherat.com>
2020-11-05 12:34:10 +08:00
Jenn Magder 2f3cccc4f5
Run more xcodebuild commands in native arm on Apple Silicon (#69837) 2020-11-04 19:54:02 -08:00
Jenn Magder 3145c835ed
Deprecate build ios-framework --universal (#69720) 2020-11-04 19:44:04 -08:00