Michael Goderbauer
6ac0f61234
Gallery: remove unused code and a11y fix ( #11209 )
2017-07-14 14:44:11 -07:00
Michael Goderbauer
cb35a1c728
Tiny a11y fix for Gallery ( #11187 )
2017-07-13 09:50:37 -07:00
Ian Hickson
a9f1cb8c0a
More documentation ( #10606 )
...
- How do you handle a tap on text?
- Why is AnimatedOpacity expensive?
- Why would you use a gesture arena team?
...and other minor fixes
2017-06-12 16:53:01 -07:00
Alexandre Ardhuin
1eaefe1837
more const for immutables ( #10563 )
2017-06-08 22:04:18 +02:00
Alexandre Ardhuin
7d71326363
apply prefer_asserts_in_initializer_list lint ( #10540 )
2017-06-07 21:39:47 +02:00
Ian Hickson
cd6e3b1ac2
CheckboxListTile, RadioListTile, SwitchListTile ( #10160 )
2017-05-19 08:46:17 -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
Sarah Zakarias
ee6cd679c8
More use of url_launcher plugin in Flutter Gallery ( #9836 )
2017-05-09 15:05:23 +02:00
Sarah Zakarias
2dd26a93a5
Revert "Revert plugin use in gallery ( #9838 )" ( #9913 )
...
This reverts commit 4bbf158b6a
.
2017-05-09 11:49:03 +02:00
Ian Hickson
a5894fca82
Revert "Revert "Revert plugin use in gallery ( #9838 )"" ( #9883 )
...
* Revert "Update reference to url_launcher plugin in Gallery pubspec (#9879 )"
This reverts commit 96a04dea0d
.
* Revert "Revert "Revert plugin use in gallery (#9838 )" (#9877 )"
This reverts commit ede72a8043
.
2017-05-08 09:42:23 -07:00
Sarah Zakarias
ede72a8043
Revert "Revert plugin use in gallery ( #9838 )" ( #9877 )
...
This reverts commit 4bbf158b6a
.
2017-05-08 13:32:41 +02:00
Sarah Zakarias
4bbf158b6a
Revert plugin use in gallery ( #9838 )
...
* Revert "add Podfile (#9835 )"
This reverts commit 74e656752c
.
* Revert "update ref to url_launcher plugin in Flutter Gallery (#9833 )"
This reverts commit 30c49781c5
.
* Revert "Use url_launcher plugin in Flutter Gallery (#9751 )"
This reverts commit 02dfd6be53
.
2017-05-05 14:14:33 +02:00
Sarah Zakarias
02dfd6be53
Use url_launcher plugin in Flutter Gallery ( #9751 )
2017-05-05 10:48:46 +02:00
Ian Hickson
89856c0e5b
Adjust the defaults behaviour of scroll views. ( #9679 )
...
* Adjust the defaults behaviour of scroll views.
Now, primary scroll views scroll by default. Others only scroll if necessary.
* apply suggested changes
2017-05-02 09:14:50 -07:00
Jason Simmons
a4992f0eac
Fix the sizing of the stack containing the Gallery preview banner ( #9657 )
2017-04-27 15:16:05 -07:00
Alexandre Ardhuin
83fce211a3
More const immutable classes ( #9544 )
...
* more widget const constructors
* prefer const constructors
* address review comments
2017-04-23 22:37:29 +02:00
Adam Barth
0d0861b3ee
The const will continue until morale improves ( #9536 )
2017-04-21 14:59:24 -07:00
Alexandre Ardhuin
9541848272
make @immutable const classes ( #9532 )
...
* make @immutable const
* fix build
2017-04-21 23:09:42 +02:00
Alexandre Ardhuin
03c54abd5f
make some widgets const ( #9477 )
2017-04-20 08:59:05 +02:00
Hans Muller
d9cd85e3ef
Remove the pesto gallery demo ( #9341 )
2017-04-12 14:41:03 -07: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
8bcf302e23
use conditional assignment ( #9252 )
2017-04-07 21:41:17 +02:00
Ian Hickson
3eb87830e9
Constants! Constants everywhere! ( #9286 )
...
Aggressively apply the const lint.
2017-04-07 12:24:32 -07:00
Jason Simmons
bb0adcb873
Update version strings in Gallery ( #9263 )
...
Fixes https://github.com/flutter/flutter/issues/9259
2017-04-06 13:11:20 -07:00
Adam Barth
ae8994860e
Rationalize text input widgets ( #9119 )
...
After this patch, there are three major text input widgets:
* EditableText. This widget is a low-level editing control that
interacts with the IME and displays a blinking cursor.
* TextField. This widget is a Material Design text field, with all the
bells and whistles. It is highly configurable and can be reduced down
to a fairly simple control by setting its `decoration` property to
null.
* TextFormField. This widget is a FormField that wraps a TextField.
This patch also replaces the InputValue data model for these widgets
with a Listenable TextEditingController, which is much more flexible.
Fixes #7031
2017-04-01 17:30:21 -07:00
Alexandre Ardhuin
2de61a0853
add @required when there's an assert not null ( #9124 )
...
* add @required when there's an assert not null
* address review comments
2017-03-31 18:34:13 +02:00
Hans Muller
606f56221b
Eliminated DrawerItem, use ListTile instead ( #8992 )
2017-03-24 15:34:43 -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
Hans Muller
031e042eee
Now each Colors.foo constant is-a Color and a color swatch ( #8833 )
2017-03-17 15:24:54 -07:00
Adam Barth
5cf04b6141
Rename ImageFit to BoxFit ( #8871 )
...
This machinery is useful for arbitrary boxes (e.g., with FittedBox).
Fixes #6463
2017-03-17 15:21:55 -07:00
Hans Muller
859da8d28b
Rename ListItem to ListTile, document ListTile fixed height geometry ( #8769 )
2017-03-14 11:46:30 -07:00
Adam Barth
6b75ac3fde
Rename dependenciesChanged to didChangeDependencies ( #8767 )
...
The new name matches the style guide. (The old name was just old and predated
the style guide.)
Fixes #8000
2017-03-14 11:21:53 -07:00
Chris Bracken
96eea437b2
Declare locals final where not reassigned (gallery) ( #8571 )
2017-03-03 17:51:21 -08:00
Hans Muller
54d9541638
Added a gallery animation demo ( #8547 )
2017-03-03 11:38:19 -08:00
Alexandre Ardhuin
69b6bb87d1
prefer_is_empty and prefer_is_not_empty ( #8474 )
2017-03-01 22:17:30 -08:00
xster
a76c352d57
Add Cupertino to gallery and add CupertinoButton and many yak friends ( #8411 )
...
* Add cupertino to gallery and add CupertinoButto
* Use single quotes
* Add disabled state
* Some review notes
* Make button animation more responsive and tweak timing
* Renamed things Cupertino
* Button with background, move cupertino demos, move material demos
* Move 2 level list too
* Refactor various demo route names
* Some review notes
* More reviews and add test
* Linter as
* Move private constant up
2017-03-01 16:06:48 -08:00
Alexandre Ardhuin
8c043d06de
fix lints for directives_ordering rule ( #8382 )
2017-02-23 13:37:26 -08:00
Alexandre Ardhuin
e9a775bf38
prefer const constructors ( #8316 )
2017-02-21 14:54:29 -08:00
Ian Hickson
f9c2d7d9aa
Introduce a quick way to test across platforms ( #8262 )
2017-02-17 17:47:49 -08:00
Ian Hickson
1bd7dbc2ec
Rename "Over-scroll" demo to "Pull to refresh" ( #8224 )
...
Fixes https://github.com/flutter/flutter/issues/5935
2017-02-16 17:14:01 -08:00
Adam Barth
14743566ca
Migrate Dropdown to ScrollConfiguration2 ( #8135 )
...
Also use the word "dropdown" consistently over "drop down".
2017-02-14 14:06:59 -08:00
Ian Hickson
83a4cf269f
Port AppBar to Scrollable2 ( #7996 )
...
Move the back button and drawer opening logic into the app bar.
Move the tap-status-bar-to-scroll-to-top logic to using
ScrollControllers. Provide a PrimaryScrollController and a `primary`
flag on scroll views.
Make it possible to track when a route becomes or stops being poppable.
2017-02-08 18:16:19 -08:00
Adam Barth
1ec625ffad
Remove PageableList ( #7997 )
...
All clients have moved to PageView.
2017-02-08 15:50:30 -08:00
Ian Hickson
332a23030b
Rename and refactor ScrollView hierarchy ( #7865 )
...
This prepares us for a CustomScrollView that takes slivers.
2017-02-03 16:05:43 -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
Adam Barth
fe01c71cf4
Switch clients to ScrollGrid ( #7752 )
...
The only remaining client of ScrollableGrid (the old version) is Pesto,
which needs AppBar integration.
2017-02-01 11:01:02 -08:00
Adam Barth
a4eca31777
Use ScrollView in examples a manual_tests ( #7645 )
...
This patch deploys ScrollView in a number of demos and manual tests.
2017-01-25 21:59:03 -08:00
Adam Barth
559621ca5a
Add SingleChildScrollView ( #7620 )
...
This widget is a replacement for ScrollableViewport that uses the new
Scrollable2 machinery. The widget is not based on Slivers but does use the new
scroll behavior classes.
2017-01-24 15:16:01 -08:00