Commit Graph

18842 Commits

Author SHA1 Message Date
Jose Alba
0423809c2f Value Indicator uses Global position (#57327)
* Value Indicator uses Global position when calculating horizontal position

* fixed test

* fixed analyzer

* Made globalCenter variable and added comments
2020-05-18 13:22:31 -04:00
Ferhat
a4ca9d7e7d Resolve skip (#57240) 2020-05-18 10:06:41 -07:00
Jonah Williams
8e765c7f6a [flutter_tools] put system clock on globals (#57447) 2020-05-18 09:56:22 -07:00
Jonah Williams
49ad67ccf0 [flutter_tools] minor cleanups to try catch (#57446)
- OsError now implements exception, remove workaround.
- Prefer is check to catching TypeError
2020-05-18 09:38:22 -07:00
stuartmorgan
30d405c794 Temporarily allow pluginClass: none on desktop (#57498)
Treats 'pluginClass: none' as equivalent to having no 'pluginClass'
entry on the desktop platforms, to satisy stable channel plugin
validation of Dart-only desktop plugin implementations. See
issue for full details.

Part of https://github.com/flutter/flutter/issues/57497
2020-05-18 09:26:37 -07:00
Tianguang
5a3104b36a Update flutter_gallery_assets to ^0.2.0 (#57328)
* Bump flutter_gallery_assets version to ^0.2.0.

* Run `flutter update-packages --force-upgrade`.

* Add comment.

* Remove duplicate key.
2020-05-18 18:26:18 +02:00
stuartmorgan
25e9d0494b Add Linux GTK artifacts to unpack list (#57452)
To simplify development of the in-progress GTK embedding, which will
replace the GLFW embedding on Linux, add the GTK artifacts to the unpack
list. This means that until the transition, both the GLFW and GTK
artifacts will be unpacked.

Part of #54860
2020-05-18 09:26:07 -07:00
stuartmorgan
f991308e3e Fix CMake invocation for 3.10 compat (#57415)
The -S/-B format of specifying source and build directories wasn't added
until 3.13. For 3.10 compatibility, use the older form of having the
working directory as the build directory, and the last argument as the
source directory.

Fixes #57409
2020-05-18 09:25:28 -07:00
Jonah Williams
b19b744bb7 [flutter_tools] check for Runner.sln when parsing for plugins (#57392)
Throw a toolExit if the windows plugin logic runs on an invalid windows project. Update the supported project check to validate the existence of a Runner.sln file
2020-05-18 09:24:51 -07:00
Andre
6294dd59bb Make _RenderButtonBarRow.constraints null aware (#57261) 2020-05-18 09:07:02 -07:00
Ayush Bherwani
f2c12d7e79 Add ExpansionTile.childrenPadding property (#57291) 2020-05-18 09:05:49 -07:00
Tomohiro Hattori
b70301fe08 fix typo (#57487) 2020-05-18 09:02:01 -07:00
Hans Muller
750dbe0954 ThemeData.brightness == ThemeData.colorScheme.brightness (#56956) 2020-05-18 08:52:02 -07:00
Jim Graham
5c78e723fb Protect the deletion of the local engine temp dir in case it is already deleted (#57345) 2020-05-18 02:37:03 -07:00
Pedro Massango
07f9563dac Add autofill support for TextFormField (#57332) 2020-05-18 02:32:02 -07:00
Cristian Zazo
e8a7dc466b Fix Autofill example (#57319) 2020-05-18 02:27:01 -07:00
Michel Feinstein
7e26a1d832 Fixed a typo. (#57412) 2020-05-18 02:22:10 -07:00
Alexandre Ardhuin
d42dcf2edd add @factory to create* methods (#57299) 2020-05-18 02:22:05 -07:00
Rene Floor
79ad2d2e20 correctly dispose listeners by image widget (#57201) 2020-05-18 02:17:02 -07:00
stuartmorgan
8abf0a6d8c Switch to CMake for Linux desktop (#57238)
Updates the Linux templates to use CMake+ninja, rather than Make, and updates the tooling to generate CMake support files rather than Make support files, and to drive the build using cmake and ninja.

Also updates doctor to check for cmake and ninja in place of make.

Note: While we could use CMake+Make rather than CMake+ninja, in testing ninja handled the tool_backend.sh call much better, calling it only once rather than once per dependent target. While it does add another dependency that people are less likely to already have, it's widely available in package managers, as well as being available as a direct download. Longer term, we could potentially switch from ninja to Make if it's an issue.

Fixes #52751
2020-05-16 15:07:34 -07:00
Ethan Saadia
2b2bbfa69f Add option for ExpansionTile to maintain the state of its children when collapsed (#57172) 2020-05-16 15:07:02 -07:00
Zachary Anderson
859f2f9bd4 Update packages (#57321) 2020-05-16 15:02:06 -07:00
Ian Hickson
e536774436 Add more documentation to addTimingsCallback (#56952) 2020-05-16 15:02:02 -07:00
liyuqian
88ddde4c81 Remove obsolete UpdateCounted prefix (#57167) 2020-05-16 14:57:08 -07:00
Jonah Williams
631087d83b [flutter_tools] cache-bust in service worker (#56786) 2020-05-16 14:57:04 -07:00
Enol Casielles Martinez
e7b6b52102 avoid AnimatedBuilder rebuilding widget (#55832) 2020-05-16 14:52:08 -07:00
Jonah Williams
afdc440840 [flutter_tools] surface missing assets originating package (#55701) 2020-05-16 14:52:04 -07:00
Coin
e5bd2b3d55 Make CircularProgressIndicator's animation match native (#50412) 2020-05-16 14:47:03 -07:00
nturgut
32547dcc7e Revert " Bring back paste button hide behavior 3 (#57139)" (#57286)
This reverts commit 8de07d5527.
2020-05-15 10:42:37 -07:00
Chase Latta
3b4f686436 add missing deps to flutter_test BUILD.gn (#57270) 2020-05-15 09:34:22 -07:00
Jose Alba
a1a5781953 Added Dartpad and Image examples to Slider and RangeSlider docs (#57047) 2020-05-14 17:42:01 -07:00
Tong Mu
5fa1c60b17 MouseCursor uses a special class instead of null to defer (#57094)
* Uses a special cursor value MouseCursor.defer to mark deferring. MouseTrackerAnnotation.cursor is now non-null. The mouseCursor argument of widgets or render objects can be null, which indicates using the default value.
* Moves SystemMouseCursors.uncontrolled to MouseCursor.uncontrolled.
* Changes how MouseCursor.debugDescription is defined. Previously MouseCursor.toString returns $runtimeType($debugDescription), while now it returns $debugDescription. Implementations of classes are updated, except for the ones of MouseCursor.defer and MouseCursor.uncontrolled are simply "defer" and "uncontrolled".
2020-05-14 15:54:26 -07:00
creativecreatorormaybenot
1239ddd7dc Fix docs (#57195) 2020-05-14 14:47:03 -07:00
Darren Austin
0bcca42bba Honor the InputDecoratorTheme in the text input fields used by the Date Pickers. (#57189) 2020-05-14 14:42:02 -07:00
Jesse
2da08f4c10 Fix typo in 'flutter create --list-samples' help (#57005) 2020-05-14 14:37:03 -07:00
Tong Mu
fb94d3fb78 Animation sheet recorder (#55527) 2020-05-14 14:32:03 -07:00
Zachary Anderson
533cd7a6d1 [flutter_tools] Delete system temp entries on fatal signals (#55513) 2020-05-14 14:27:02 -07:00
Jonah Williams
bd47262183 [flutter_tools] fix period in URL for androidX incompat (#57182) 2020-05-14 12:32:03 -07:00
Jonah Williams
a801496701 [flutter_tools] allow adb to fail to unforward without crashing (#57173) 2020-05-14 12:27:01 -07:00
shihchanghsiungsonos
bb49a9b056 [Add2App Android] Fix the issue of Hotreload broken on latest Dev release with Android device (#57145) 2020-05-14 12:17:02 -07:00
Justin McCandless
8de07d5527 Bring back paste button hide behavior 3 (#57139) 2020-05-14 11:37:02 -07:00
Jonah Williams
1000ae802d [flutter_tools] ensure package_config is re-created if pub get is run (#57184) 2020-05-14 11:22:07 -07:00
chunhtai
8ede83b8a0 update initial route documentation (#57136) 2020-05-14 11:22:03 -07:00
Jonah Williams
a2cf9ecc46 [flutter_tools] expose track-widget-creation to build aar (#57117) 2020-05-14 11:17:06 -07:00
LongCatIsLooong
1c13d665ea remove redundant transform (#57085) 2020-05-14 11:17:03 -07:00
Jonah Williams
8a77381e58 [flutter_tools] do not set timestamp of package_config file (#57077) 2020-05-14 11:12:08 -07:00
Darren Austin
b4788f290c Updated gen_missing_localizations to copy the english strings instead of using 'TBD' for other locales. (#57053) 2020-05-14 11:12:05 -07:00
Kate Lovett
f6fb3aaa35 Remove deprecated child parameter (#57065) 2020-05-14 11:07:08 -07:00
Ferhat
674fb7e165 Unskip TextStyle web tests (#56710) 2020-05-14 11:07:04 -07:00
Christopher Fujino
a2f5364dc0 throw more specific toolexit when git fails during upgrade (#57162) 2020-05-14 11:03:07 -07:00