Hans Muller
655bf6a290
Update uses of ButtonTheme.bar: pass along the current Theme's colorScheme ( #22827 )
...
* Update uses of ButtonTheme.bar
* updated gallery themes
* Remove unnecessary const
Fixes #22789
2018-10-08 15:53:35 -07:00
xster
9c080269a8
Add some missing voiceover labels in gallery ( #22753 )
2018-10-08 11:51:16 -07:00
Hans Muller
bbb080b3a3
Material Switch optionally adapts per platform: Switch.adaptive() ( #22688 )
2018-10-08 10:39:59 -07:00
Alexandre Ardhuin
2ea1d81cdc
sort_constructors_first ( #22575 )
2018-10-04 07:28:07 +02:00
Hans Muller
eea3465ae7
Added ColorScheme, updated ThemeData, ButtonTheme, material buttons ( #22013 )
...
Introduce an overall material "color scheme" and to make it possible to redefine how a component's visual properties bind to the color scheme and to the existing material Theme.
2018-10-02 14:50:43 -07:00
mockturtl
13684e4f8e
use RadioListTile in expansion panels demo ( #20240 )
...
* use RadioListTile in expansion panels demo
Fixes #6048 .
- expose `_Location`
- appease analyzer
2018-10-02 11:15:17 -07:00
Alexandre Ardhuin
f62afdcf57
add missing type parameter on methods ( #22096 )
2018-10-01 21:29:08 +02:00
xster
ac9dc5745e
Add support for material agnostic driver navigation ( #22461 )
2018-10-01 09:18:20 -07:00
Viet Do
2a8e35cc9c
Cupertino Date Picker ( #21251 )
2018-09-28 18:29:28 -07:00
xster
75b24070dd
Add API docs link to each gallery demo ( #22379 )
2018-09-28 16:06:41 -07:00
xster
6b94e6b168
Fix picker demo safe area layout ( #22244 )
2018-09-26 09:28:27 -07:00
Ian Hickson
6d134e0c86
Animation API improvements ( #21540 )
2018-09-23 00:43:05 -07:00
Ian Hickson
989cf18b0d
[H] Cleanup ( #21542 )
...
* Improve documentation and clean up code.
* Remove "Note that".
The phrase "note that" is basically meaningless as a prefix to an
otherwise fine sentence.
2018-09-22 02:02:56 -07:00
Alexandre Ardhuin
a07d3719a1
enable lint prefer_generic_function_type_aliases ( #21680 )
2018-09-14 21:06:19 +02:00
Jonah Williams
e9e2ca160d
Don't use dense dropdown buttons in the Gallery date/time picker demo ( #21693 )
2018-09-12 14:15:28 -07:00
Alexandre Ardhuin
d927c93310
Unnecessary new ( #20138 )
...
* enable lint unnecessary_new
* fix tests
* fix tests
* fix tests
2018-09-12 08:29:29 +02:00
Devon Carew
f5efbc4370
remove some temporary debug output ( #21500 )
2018-09-06 12:49:02 -07:00
liyuqian
6c4b38b707
Enable fading animation during page transitions. ( #21394 )
...
The average frame time of page transitions on Moto G4 is now very
close to 16ms (the last 10 measurements on our dashboard are
between 15.5ms to 16.7ms and half of them are below 16ms).
It is now much faster than when we disabled it (which was at about
35ms). So I think that we should be able to enable it by default.
I'll leave the flag there until we implement the retained rendering
to bring the frame time comfortably below 16ms.
See https://github.com/flutter/flutter/issues/13736
2018-09-06 09:26:52 -07:00
liyuqian
c1beb15f85
Use Visibility to hide gallery menu ( #19121 )
2018-08-31 14:46:19 -07:00
xster
f23c9ae5f8
Cupertino nav bar transitions between routes ( #20322 )
2018-08-28 16:44:34 -07:00
Ian Hickson
53b635817c
Re-enable missing_return ( #20844 )
2018-08-28 11:22:57 -07:00
xster
3313f5185f
Put Cupertino gallery demos in alphabetical order ( #21081 )
2018-08-27 15:10:05 -07:00
Viet Do
0b93911653
Add Cupertino Countdown Timer Picker ( #20966 )
...
Add a countdown timer picker as part of the Cupertino date picker.
2018-08-27 12:37:55 -07:00
xster
c418b2f328
Auto populate nav bar title and previous from page route ( #19637 )
2018-08-23 18:24:30 -07:00
Jonah Williams
e235ccd76f
Support disabled animations ( #20354 )
2018-08-23 11:50:04 -07:00
Will Larche
47cffd160c
[Gallery] Material elevations (shadows) demo ( #20842 )
...
* [Gallery] Elevations demo. TODO: Correct icon.
* [Gallery] More elevations for the elevation demo.
* [Gallery] Elevation toggle for elevation demo.
* [Demos] Update temp icon on elevations demo.
* [Demos] Changing action icon.
* [Demos] Same.
* [Demos] Adding new and const.
* [Demos] Reverting formatting.
* [Gallery] PR Feedback.
2018-08-22 13:02:35 -04:00
liyuqian
bab0ce97bd
Clip the flutter_gallery front layer ( #20836 )
...
This will be needed once PhysicalShape sets the default clipBehavior
to Clip.none.
2018-08-21 12:56:01 -07:00
Mehmet Fidanboylu
a529906586
Allow option switches to have keys in Gallery ( #20740 )
...
* Allow option switches to have keys
* Review comments
2018-08-18 20:48:38 -07:00
Ian Hickson
8c79f40d71
Fixes resulting from audit of issues links ( #20772 )
...
* Fixes resulting from audit of issues links
I looked at every link to GitHub in our repo. For cases where we had a TODO that was waiting for a bug to be fixed, and the bug has now been fixed, I applied the pending change. For cases where the link was out of date, I updated the link.
* Update run_test.dart
skip this test again since it failed on linux and macos bots
2018-08-18 16:44:39 -07:00
TL Lee
e2f3b3d6f2
Feature pesto new recipes ( #19415 )
...
<img width="273" alt="pesto_before" src="https://user-images.githubusercontent.com/13839358/43009716-64b6d726-8c0c-11e8-989a-13eaff72ccee.png ">
<img width="273" alt="pesto_after" src="https://user-images.githubusercontent.com/13839358/43009717-66074a34-8c0c-11e8-92ae-f5fb4074f43a.png ">
2018-08-17 17:58:25 -04:00
xster
5cd97f0004
use the <> icon to show code examples in the gallery ( #20705 )
2018-08-16 14:10:22 -07:00
xster
eec2e629bf
copy edit modal sheet demo ( #20703 )
2018-08-16 14:10:04 -07:00
xster
db8d63575e
make overflow dots on iOS horizontal in gallery ( #20702 )
2018-08-16 13:12:41 -07:00
Natalie Sampsell
faffd3aef3
Add CupertinoActionSheet to gallery ( #20411 )
2018-08-15 01:01:30 -07:00
Viet Do
1057d39dd0
Support infinite scrolling for CupertinoPicker. ( #19789 )
...
Allows the cupertino picker to be scroll infinitely by adding builder.
2018-08-13 12:26:07 -07:00
Natalie Sampsell
64532336f4
Add segmented control to gallery ( #19425 )
2018-08-09 15:06:01 -07:00
Ian Hickson
872e88cec7
Reduce noise on the memory benchmarks ( #19630 ) ( #20163 )
...
- Check memory usage in release builds, not profile.
- Use multiple runs and average the results.
2018-08-06 12:46:51 -07:00
Jonah Williams
ddd7e4ead1
improve semantics of chip demo ( #20121 )
2018-08-03 21:10:33 -07:00
Jonah Williams
a29c6d9bb2
kick bots ( #20200 )
2018-08-03 14:49:16 -07:00
Ian Hickson
a2ca14d71e
Revert "Reduce noise on the memory benchmarks" ( #20158 )
...
* Revert "Add pub cache, artifacts, pkgs to Cirrus cache (#20080 )"
This reverts commit 07e93b385c3c861aab859d34d761fd29e416b831.
* Revert "Reduce noise on the memory benchmarks (#19630 )"
This reverts commit 8eb5cb7dc0816f8d9ad620e8933efccf5b8d0551.
2018-08-02 13:56:44 -07:00
Ian Hickson
8eb5cb7dc0
Reduce noise on the memory benchmarks ( #19630 )
...
- Check memory usage in release builds, not profile.
- Use multiple runs and average the results.
2018-08-02 12:22:15 -07:00
Alexandre Ardhuin
eda03e2586
re-re-enable lint unnecessary_const ( #20103 )
2018-08-02 12:02:32 +02:00
David Shuckerow
f844fadaf3
Reorderable list widget and Material demo ( #18374 )
2018-07-30 15:21:00 -07:00
xster
cded7efbd0
Fix CupertinoSwitch accessibility ( #19927 )
2018-07-30 11:18:32 -07:00
Michael Goderbauer
3156c28882
Improve semantics for Drawer-Demo ( #19911 )
2018-07-30 09:28:24 -07:00
Todd Volkert
00aac68e2d
Revert flutter/flutter#19592 ( #19861 )
...
It was causing problems rolling Flutter into Fuchsia
2018-07-27 08:44:39 -07:00
Jonah Williams
810a29d663
Semantics framework updates ( #18758 )
...
Changes:
- Move the SemanticsConfiguration update from RenderToggleable to each subclass, so that Switch can use toggled.
- Add image, liveRegion, toggled properties to Semantics, SemanticsConfiguration, SemanticsNode
- Added semanticsLabel and excludeFromSemantics to Image (the latter so that we avoid creating a semantics node)
- Added onDismiss semantics action which maps to the modal escape on iOS and dismiss action on Android.
- Added dismiss and liveRegion to snackbar widget
- Updated custom painter semantics to handle image, liveRegion, toggle
- Updated relevant tests to use correct flag/action
2018-07-24 13:10:17 -07:00
Alexandre Ardhuin
27018359d2
re-enable lint unnecessary_const ( #19592 )
...
* re-enable lint unnecessary_const
* remove trailling whitespaces
* remove unnecessary const (after merge)
2018-07-23 08:31:48 +02:00
Jonah Williams
d2d17abeec
Add support for custom semantics actions to Android and iOS. ( #18882 )
2018-07-19 20:47:21 -07:00
Jonah Williams
a66ea0a628
add textCapitalization property ( #19367 )
2018-07-19 18:06:44 -07:00