Greg Spencer
1f5fcb7432
Speed up AnimatedSwitcher. ( #17265 )
...
This optimizes the AnimatedSwitcher so that it tags the right widget with its keyed subtree, and avoids rebuilding the transition unnecessarily.
This significantly improves the performance of Chips (which uses AnimatedSwitcher to swap out it's avatar and delete icon children).
2018-05-18 16:27:19 -07:00
Greg Spencer
3c5a7a3005
Make non-global constants have consistent naming (with just _ instead of _k) ( #17584 )
...
Our style guide says the k's are not necessary, and it seems like a good idea to make all the code be consistent on this.
Only naming changes to private vars: no logic changes.
2018-05-17 23:04:41 -07:00
Greg Spencer
e4b574d3d3
Cupertino Dialog Changes ( #17676 )
...
This replaces abandoned PR #14824 by @ekbiker, and gives it some love.
2018-05-17 22:36:16 -07:00
Greg Spencer
ac67efbc83
Moving API doc asset URLs to point to the new location. ( #17697 )
...
I'm moving the assets in the assets-for-api-docs repo to a slightly different location to help with organization in that repo, so this PR points the doc URLs to the new location. The old assets won't be removed until this PR makes its way to the API docs website.
No documentation or code changes here, other than changing doc image URLs.
2018-05-17 09:53:06 -07:00
Hans Muller
580c844c2f
Added GalleryApp testMode ( #17640 )
2018-05-16 11:42:39 -07:00
Chris Bracken
d2d2fb4163
Increase gallery perf scrollUntilVisible timeout ( #17633 )
...
On smaller-screen devices such as the iPhone 4s, more scrolling is
required between the Material dialog demo and the Material pickers demo
than will happen within the default timeout.
2018-05-15 17:16:35 -07:00
Michael Goderbauer
f5c4823803
Update the xcode project of flutter_gallery ( #17630 )
...
... so the tree doesn't become dirty just by building it.
2018-05-15 15:53:56 -07:00
Chris Bracken
b0fa93eada
Revert "Adjust scroll increment in transition perf test ( #17593 )" ( #17623 )
...
This reverts commit 1095eafed497ab8785109b7b737112acc754cf93.
2018-05-15 13:38:53 -07:00
Chris Bracken
1095eafed4
Adjust scroll increment in transition perf test ( #17593 )
...
When attempting to locate an element in the Flutter Gallery transition
performance driver test, attempt to scroll downward in increments of 25%
of the screen rather than by an absolute pixel amount.
This helps get the test passing on devices with relatively small screen
heights.
2018-05-15 11:23:31 -07:00
Sam Rawlins
5fafface34
Bump mockito to 3.0.0-alpha+5 ( #17487 )
2018-05-11 15:27:15 -07:00
Hans Muller
ef20f726e3
Gallery a11y fix: give the categories and demos pages "route" scope ( #17516 )
2018-05-11 11:57:55 -07:00
Hans Muller
6c8d5f1bd3
Stop Gallery the logo to back-button cross fade shaking ( #17513 )
2018-05-11 11:17:07 -07:00
Konstantin Scheglov
9b65fc6529
Rebase after package:isolate fixes. ( #17289 )
2018-05-10 18:52:33 -07:00
xster
e8d99d12c4
Fix backdrop demo margin for iPhone X ( #17480 )
2018-05-10 17:36:20 -07:00
xster
e42c50cf20
Post libtxt/post iOS 11 fidelity fine tuning ( #17366 )
2018-05-10 17:35:18 -07:00
Devon Carew
d427d26d1b
Unpin analyzer - no longer use the version from the sdk ( #17479 )
...
* no longer use the analyzer version shipped in the sdk
* update all package versions to the latest
2018-05-10 13:31:54 -07:00
Hans Muller
a02568b3ca
Added MediaQuery.textScaleFactorOf() ( #17450 )
2018-05-09 17:08:22 -07:00
Michael Goderbauer
501316fd02
Make Headers be one sementics node in gallery ( #17445 )
2018-05-09 16:05:35 -07:00
xster
0a0e2b4015
Update Play Store metadata ( #17301 )
2018-05-07 13:55:12 -07:00
Chris Bracken
aa341be4ae
Enable multi-arch Flutter Gallery on iOS ( #17350 )
...
Build universal armv7+arm64 binary for iOS now that our tooling supports
it.
2018-05-07 09:55:03 -07:00
Hans Muller
eee986b076
Gallery cosmetic updates ( #17310 )
2018-05-07 09:25:50 -07:00
Chris Bracken
c9954f1053
Gallery demos: reordered and retitled ( #17220 ) ( #17273 )
2018-05-03 18:26:46 -07:00
Chris Bracken
322eb81a79
Revert longPress/Tap and Gallery changes ( #17269 )
...
Revert longPress/Tap and Gallery changes
2018-05-03 16:51:45 -07:00
Jonah Williams
40ddf01059
fix names of demos in perf tests ( #17257 )
2018-05-03 15:46:40 -07:00
xster
b2db3bafef
Make Android back button presses in a demo category not unexpectedly quit the app ( #17224 )
2018-05-03 11:15:51 -07:00
Hans Muller
22c12f9f92
Gallery demos: reordered and retitled ( #17220 )
2018-05-03 11:05:48 -07:00
Konstantin Scheglov
9fe53b0d2b
Export @required from src/widgets/framework.dart ( #17208 )
2018-05-03 08:50:40 -07:00
Todd Volkert
65079ad5f2
Add Flutter-repo-specific golden comparator ( #17205 )
...
In order to avoid checking binaries into flutter/flutter,
this comparator can be used to retrieve golden files from
a sibling flutter/goldens repository.
https://github.com/flutter/flutter/issues/16859
2018-05-03 07:39:41 -07:00
Hans Muller
c75db13f18
Fixed a typeO ( #17223 )
2018-05-02 17:43:32 -07:00
xster
4e6045883c
Fix front layer can be tapped through bug on gallery ( #17181 )
2018-05-02 14:31:59 -07:00
Hans Muller
dba7855de8
Update the gallery BottomAppBar demo ( #17177 )
2018-05-02 11:18:48 -07:00
Hans Muller
8d0ec25eb6
Updated the error color in the Gallery themes ( #17200 )
2018-05-02 11:09:28 -07:00
xster
7982a3a277
New gallery performance improvements ( #17167 )
2018-05-01 18:08:13 -07:00
xster
709b0cb285
Accessibility fixes for new gallery ( #16973 )
2018-04-30 17:19:00 -07:00
Hans Muller
5c2259d505
Cross fade gallery UI front layer ( #17064 )
2018-04-30 08:23:11 -07:00
xster
396298fb39
Give more room for the front layer drag on iPhone X for new Gallery ( #16975 )
...
* Give more room for the front layer drag on iPhone X
* Tweak the animation visual effects
* review lint
2018-04-27 16:25:42 -07:00
Jonah Williams
84dbef3982
add route semantics to backdrop widget ( #16981 )
2018-04-27 13:24:21 -07:00
Hans Muller
bf3bd7667f
New Gallery UI reprise ( #17031 )
2018-04-27 08:11:20 -07:00
Hans Muller
38d5d46127
Revert "New Flutter Gallery UI" ( #16984 )
...
* Revert "New Flutter Gallery UI (#16936 )"
This reverts commit 7038597b02b46d89c23560cbe0e307e55b304b4d.
2018-04-25 18:41:07 -07:00
Hans Muller
7038597b02
New Flutter Gallery UI ( #16936 )
...
A new front-end for the Flutter Gallery example.
2018-04-25 14:15:34 -07:00
xster
76aa02875e
Update Fastlane to adhere to new Play Store API requirement ( #16949 )
2018-04-25 11:35:35 -07:00
Hans Muller
cdb82fce92
Put the backdrop demo controls on the right ( #16902 )
2018-04-23 17:19:39 -07:00
xster
cf8f800e59
Update gallery icons with new logo ( #16900 )
2018-04-23 16:00:16 -07:00
xster
8e7139a049
Make the gallery about dialog open the website in Safari ( #16830 )
2018-04-20 19:03:03 -07:00
Jonah Williams
034a663d33
Semantics object support for edge triggered semantics ( #16081 )
...
Semantics object support for edge triggered semantics
2018-04-19 17:59:19 -07:00
xster
d05bc9c0e3
Remove UI with the word 'demo' from the gallery ( #16767 )
2018-04-19 16:53:21 -07:00
Greg Spencer
b83eb465fd
Updating the Chip demo in the Gallery to include all the new types of chips. ( #16522 )
...
This chip demo is more interactive than the last one, trying to exercise all of the types of chips for a demo that lets you select different types of "chips" (like tortilla, wood, micro, etc.), and then filter them and select an action on them.
2018-04-19 16:43:22 -07:00
xster
cdf80b642b
Don't show the 'preview' banner on published gallery ( #16727 )
2018-04-19 16:18:05 -07:00
Greg Spencer
5129d8ffa6
Rename Rail to Track, per UX guideline ( #16519 )
2018-04-12 12:32:30 -07:00
Sarah Zakarias
4443e4d4cf
Cleanup FLX related code ( #16416 )
2018-04-12 10:12:26 +02:00