Alexandre Ardhuin
8b0de38ef8
fix upcoming lint avoid_returning_null_for_void ( #23190 )
2018-10-17 11:01:37 +02:00
Alexandre Ardhuin
0fb84e96c7
Prefer void to null ( #22977 )
...
* Future<void> main
* Future<void>.delayed
* prefer_void_to_Null
* address review comments
2018-10-16 22:03:06 +02:00
matthew-carroll
04a26778c5
Revert "Reversion for roll ( #22984 )" ( #23029 )
...
This reverts commit 80f80ab08c .
2018-10-12 16:31:34 -07:00
matthew-carroll
80f80ab08c
Reversion for roll ( #22984 )
...
For G3 Roll:
* Revert "MaterialButton must honor its minWidth and height parameters (#22919 )"
This reverts commit a02332335a .
* Revert "Update uses of ButtonTheme.bar: pass along the current Theme's colorScheme (#22827 )"
This reverts commit 655bf6a290 .
* Revert "ButtonTheme.of().colorScheme defers to Theme (#22880 )"
This reverts commit a590940e45 .
* Revert "Bring TextTheme into alignment with the current Material spec (#22330 )"
This reverts commit 8bfb4b3ee5 .
* Revert "Added ColorScheme, updated ThemeData, ButtonTheme, material buttons (#22013 )"
This reverts commit eea3465ae7 .
* Manual adjustments to fix reversion issues.
2018-10-11 18:17:46 -07:00
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
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
Alexandre Ardhuin
f62afdcf57
add missing type parameter on methods ( #22096 )
2018-10-01 21:29:08 +02:00
xster
75b24070dd
Add API docs link to each gallery demo ( #22379 )
2018-09-28 16:06:41 -07:00
Ian Hickson
6d134e0c86
Animation API improvements ( #21540 )
2018-09-23 00:43:05 -07:00
Alexandre Ardhuin
a07d3719a1
enable lint prefer_generic_function_type_aliases ( #21680 )
2018-09-14 21:06:19 +02: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
liyuqian
c1beb15f85
Use Visibility to hide gallery menu ( #19121 )
2018-08-31 14:46:19 -07:00
xster
3313f5185f
Put Cupertino gallery demos in alphabetical order ( #21081 )
2018-08-27 15:10:05 -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
xster
5cd97f0004
use the <> icon to show code examples in the gallery ( #20705 )
2018-08-16 14:10:22 -07:00
Natalie Sampsell
faffd3aef3
Add CupertinoActionSheet to gallery ( #20411 )
2018-08-15 01:01:30 -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
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 07e93b385c .
* Revert "Reduce noise on the memory benchmarks (#19630 )"
This reverts commit 8eb5cb7dc0 .
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
Todd Volkert
00aac68e2d
Revert flutter/flutter#19592 ( #19861 )
...
It was causing problems rolling Flutter into Fuchsia
2018-07-27 08:44:39 -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
xster
d07d6ac36e
Fix sliver padding safe area for material gallery ( #19497 )
2018-07-18 15:46:51 -07:00
Ian Hickson
f630f90d6d
Revert "enable lint unnecessary_const ( #19342 )" ( #19423 )
...
This reverts commit cc1cf13eec .
2018-07-16 13:30:27 -07:00
Alexandre Ardhuin
cc1cf13eec
enable lint unnecessary_const ( #19342 )
2018-07-16 21:43:48 +02:00
Chris Bracken
32af169946
Revert "Add segmented control to gallery ( #19192 )" ( #19227 )
...
This appears to trigger an error during AOT snapshot of the gallery as
follows:
```
stdout: [ +6 ms] Building AOT snapshot in release mode (ios-release)...
stdout: [ +15 ms] Extra gen_snapshot options: [--print_snapshot_sizes]
stdout: [ +7 ms] /usr/bin/arch -x86_64 /Users/flutter/.cocoon/flutter/bin/cache/artifacts/engine/ios-release/gen_snapshot --await_is_keyword --causal_async_stacks --packages=.packages --url_mapping=dart:ui,/Users/flutter/.cocoon/flutter/bin/cache/pkg/sky_engine/lib/ui/ui.dart --url_mapping=dart:vmservice_io,/Users/flutter/.cocoon/flutter/bin/cache/pkg/sky_engine/sdk_ext/vmservice_io.dart --embedder_entry_points_manifest=/Users/flutter/.cocoon/flutter/bin/cache/artifacts/engine/ios-release/dart_vm_entry_points.txt --embedder_entry_points_manifest=/Users/flutter/.cocoon/flutter/bin/cache/artifacts/engine/ios-release/dart_io_entries.txt --print_snapshot_sizes --snapshot_kind=app-aot-assembly --assembly=build/aot/arm64/snapshot_assembly.S /Users/flutter/.cocoon/flutter/examples/flutter_gallery/lib/main.dart
stderr: [+9324 ms] Error: 'file:///Users/flutter/.cocoon/flutter/examples/flutter_gallery/lib/demo/cupertino/cupertino_segmented_control_demo.dart': error: line 19 pos 1: circular dependency for function _CupertinoSegmentedControlDemoState
stderr: [ ] class _CupertinoSegmentedControlDemoState extends State {
stderr: [ ] ^
stderr: [ +33 ms] Dart snapshot generator failed with exit code 254
stderr: [ ] Snapshotting (IOSArch.arm64) exited with non-zero exit code: 254
stdout: [ ] Built to build/aot/.
stdout: [ +10 ms] "flutter aot" took 9,485ms.
```
This reverts commit 9d49ee3bf0 .
2018-07-10 14:38:52 -07:00
Natalie Sampsell
9d49ee3bf0
Add segmented control to gallery ( #19192 )
...
* Adding segmented control to gallery
2018-07-10 11:17:47 -07:00
Jonah Williams
472bbccf75
Fix both platform system chrome definitions ( #18808 )
2018-06-26 17:01:46 -07:00
Jonah Williams
d6465c477a
Fix system chrome colors on gallery and definition in iOS ( #18735 )
2018-06-22 13:51:08 -07:00
Chris Bracken
2ae48845a8
Revert elimination of Dart 1 ( #18460 )
...
fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly
from source, flutter_platform.dart automatically runs a kernel compile when
operating in Dart 2 mode, but this assumes a functional Dart SDK is available
in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts
directory with an empty temp dir.
Remaining work is:
1. Get the frontend server building as a dependency on Fuchsia.
2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server.
This also reverts migration to Dart 2 typedef syntax.
This reverts commit 6c56bb2 . (#18362 )
This reverts commit 3daebd0 . (#18316 )
2018-06-13 12:46:39 -07:00
Greg Spencer
6c56bb2420
Update typedef syntax to use Function notation and turn on lint for old notation. ( #18362 )
...
Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax.
Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml.
No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
2018-06-11 15:51:45 -07:00
Mehmet Fidanboylu
226f2c1e99
Fix broken asset uris ( #18336 )
2018-06-09 20:11:08 -07:00
Will Larche
326caa5d22
[Gallery] Updated assets and copy ( #18324 )
2018-06-09 00:39:27 -07:00
Alexandre Ardhuin
09276bea25
enable lint prefer_equal_for_default_values ( #18156 )
2018-06-05 08:50:40 +02:00
Greg Spencer
b921fdc58e
Revert "Update typedef syntax to use Function notation and turn on lint for old notation. ( #18035 )" ( #18041 )
...
This reverts commit 3258602073 .
2018-05-30 13:51:14 -07:00
Greg Spencer
3258602073
Update typedef syntax to use Function notation and turn on lint for old notation. ( #18035 )
...
Fixes #18028
Just changes typedef declarations, no logic changes.
2018-05-30 12:13:58 -07:00
Michael Goderbauer
d5a103402c
Expandable Search ( #17629 )
2018-05-24 09:30:37 -07:00
Hans Muller
6c03a3f96b
adapt home screen layout for large screen sizes ( #17816 )
2018-05-22 15:57:41 -07:00
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
Hans Muller
580c844c2f
Added GalleryApp testMode ( #17640 )
2018-05-16 11:42:39 -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