Ian Hickson
aba0379dcc
Clean up the existing Navigator API. ( #15718 )
...
This is not a grand refactor yet, it's just cleaning up what we have
already, so that people who keep using this API (e.g. dialogs) have
something coherent to deal with.
The major changes are that Navigator and NavigatorState have the same
API now, that most of the examples use `<void>` instead of `<Null>`,
that the navigator observer can see replaces, and that the `settings`
is moved from ModalRoute to Route. I also cleaned up some of the API
documentation.
2018-03-22 13:21:07 -07:00
Hans Muller
4c7cc73637
Added an additional Material theme to the Gallery ( #15492 )
2018-03-14 10:52:06 -07:00
Ian Hickson
c12d120bbf
Provide a way to override global InheritedWidgets ( #14348 )
...
For example, so that the gallery can override the media query globally.
2018-02-01 23:12:52 -08:00
Leaf Petersen
b3cfa785c4
Uncontroversial and backwards compatible 2.0 SDK fixes ( #13723 )
...
Small code changes as part of moving the framework SDK forward to a 2.0 dev version.
2017-12-21 13:39:03 -08:00
Ian Hickson
8b15b537b3
DropdownButton RTL ( #13040 )
...
This fixes DropdownButtons to align their popups correctly in RTL as well.
Also while I was there I fixed the issue with text scale factor in the gallery.
2017-11-16 17:57:50 -08:00
xster
89405002bc
Add an iOS style demo to the gallery ( #12651 )
...
* Built first tab
* Small additions
* started tab 3
* Need color arithmetics
* tab 2 built
* finalize
* lint and tests
* review
* Reapply docs after rebase
* use color.computeLuminance
* linter
* nit
2017-11-03 08:50:29 -07:00
Greg Spencer
e697e5523f
Add large text switching to Gallery app. ( #12443 )
...
This lets us preview widgets in the gallery using small, normal, large, and HUGE text.
Added selections to the main drawer for these options. Defaults to "normal", obviously.
2017-10-13 21:44:24 -07:00
Jason Simmons
e65d47d4ba
Update Gallery primary swatch colors in order to select the intended text color ( #10090 )
2017-05-15 12:40:20 -07:00
Jason Simmons
91b1a07656
Framework support for checkerboardOffscreenLayers ( #10054 )
...
See https://github.com/flutter/flutter/issues/9473
2017-05-12 14:41:07 -07:00
Alexandre Ardhuin
9541848272
make @immutable const classes ( #9532 )
...
* make @immutable const
* fix build
2017-04-21 23:09:42 +02:00
xster
89a7fdfc56
Rename State.config to widget everywhere ( #9273 )
...
Rename State.config to State.widget
Rename State.didUpdateConfig to State.didUpdateWidget
Renamed all State subclasses' local variables named config to something else
2017-04-10 18:32:24 -07:00
Ian Hickson
2a5810e36f
Point from gallery's routing table to stocks'. ( #9287 )
...
The stocks routing table is a clearer example of how to do this.
People know to look at the gallery, but don't think to look at the
stocks version. This points them from the former to the latter.
2017-04-07 17:51:41 -07:00
Alexandre Ardhuin
578ca0a295
use color.shadeXxx instead of color[Xxx] ( #8932 )
...
* use color.shadeXxx instead of color[Xxx]
* remove calls to .shade500 on MaterialColor
* remove calls to .shade200 on MaterialAccentColor
* fix test
2017-03-21 23:14:55 +01:00
Alexandre Ardhuin
8c043d06de
fix lints for directives_ordering rule ( #8382 )
2017-02-23 13:37:26 -08:00
Ian Hickson
f9c2d7d9aa
Introduce a quick way to test across platforms ( #8262 )
2017-02-17 17:47:49 -08:00
Ian Hickson
6dcd127188
Delay time dilation so users see the checkbox ( #7803 )
...
Fixes https://github.com/flutter/flutter/issues/5066
2017-02-01 22:48:00 -08:00
Collin Jackson
f0c7f5a942
Support for overriding Gallery feedback menu item behavior ( #7091 )
2016-11-29 17:47:39 -08:00
Ian Hickson
9c1a24fa72
Reexport meta from foundation. ( #6938 )
2016-11-18 21:22:32 -08:00
Chinmay Garde
1939ba12d2
Wire up checkerboarding of raster cache images in the framework and gallery. ( #6749 )
2016-11-09 11:36:17 -08:00
Ian Hickson
cfddacbb81
Platform selector in gallery. ( #6390 )
2016-10-18 22:44:43 -04:00
Hans Muller
119758b822
Make the suspended gallery task bar gray ( #5651 )
2016-08-29 14:59:10 -07:00
Hans Muller
a651008acf
Animate the "PREVIEW" banner into view ( #5598 )
2016-08-25 12:30:25 -07:00
Collin Jackson
91b6319a4f
Allow disabling the performance overlay in main.dart, fixes #5580 ( #5583 )
2016-08-24 15:55:00 -07:00
Collin Jackson
701e0d054a
Add update dialog to gallery ( #5569 )
...
Add update dialog to gallery, open source part of #4626
2016-08-24 13:32:27 -07:00
Hans Muller
3a6f6c8275
Gallery app preview banner ( #5554 )
2016-08-23 12:29:07 -07:00
Hans Muller
3a7508d702
New gallery identity ( #5210 )
2016-08-04 11:07:59 -07:00
Hans Muller
2de2ce35bb
It is not easy being green ( #4606 )
2016-06-16 17:33:12 -07:00
Hans Muller
f21b140115
One list of GalleryItems to rule them all ( #4549 )
2016-06-13 16:50:12 -07:00
Hans Muller
187ff00294
New gallery app bar background ( #4539 )
2016-06-13 12:41:29 -07:00
Adam Barth
1d5d7f4ad3
Reorganize the calculator demo ( #4536 )
...
This patch is a warmup to improving the visuals in the calculator demo.
Related to #4535
2016-06-13 11:44:46 -07:00
Todd Volkert
7ac0ce7938
Add API for specifying the system overlay style. ( #4422 )
...
Fixes 3544
2016-06-07 14:39:15 -07:00
Ian Hickson
ed48c70aa0
Remove the redundant drop-down button demo ( #4380 )
...
Turns out we have the same demo in the "Buttons" section now.
We don't need both.
2016-06-04 09:31:32 -07:00
Matt Perry
60e7535b58
Pesto demo for the Flutter Gallery app. ( #4328 )
...
* Pesto demo for the Flutter Gallery app.
* pesto.special.case
2016-06-03 17:05:01 -04:00
Hans Muller
1d516f0e94
Update gallery demo list (again) ( #4339 )
2016-06-03 08:37:16 -07:00
Hans Muller
dd27a489fa
Update gallery demo list ( #4335 )
2016-06-02 16:12:54 -07:00
Hans Muller
309b9f8010
Version 0.0 of a gallery demo of the Material Design "Shrine" app ( #4327 )
2016-06-02 14:23:20 -07:00
Adam Barth
0679da0a23
Remove fancy lines demo from Gallery ( #4323 )
...
This demo burns battery continuously even when there's no change to the visual
appearance. This patch removes this demo to avoid giving the impression that
Flutter burns battery.
Related to #4120
2016-06-02 09:54:03 -07:00
Devon Carew
65bed96103
move the calculator files around ( #4112 )
2016-05-23 12:55:09 -07:00
Ian Hickson
d0bac85da4
Move the new calculator demo into the gallery. ( #4092 )
2016-05-21 10:56:02 -07:00
Hans Muller
74c3e74fba
Call it Flutter Gallery ( #3801 )
2016-05-09 11:00:54 -07:00