Adam Barth
269538df58
Add a constant for padding in a Material ListView ( #8918 )
...
Fixes #8235
2017-03-20 16:18:41 -07:00
Adam Barth
97816e1571
Rename Dismissable to Dismissible ( #8919 )
...
The latter is the proper spelling.
Fixes #8883
2017-03-20 16:17:08 -07: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
Alexandre Ardhuin
a0769f2488
apply the upcoming rule unnecessary_this ( #8838 )
2017-03-17 08:05:42 +01:00
Alexandre Ardhuin
2166ea5b7f
apply partially the upcoming unnecessary_lambdas ( #8810 )
2017-03-15 23:09:58 +01:00
Alexandre Ardhuin
a9ba0e2f88
prefer_initializing_formals ( #8797 )
2017-03-15 18:30:55 +01:00
Adam Barth
fd51093146
Rename SliverPadding.child to SliverPadding.sliver ( #8757 )
...
The new name follows the pattern of the name suggesting which layout
protocol the parent expects the child to speak.
Fixes #8664
2017-03-14 14:07:13 -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
Ian Hickson
8eac6cd0da
Test API improvements: pumpAndSettle, autogenerate pointer IDs ( #8751 )
2017-03-13 16:27:15 -07:00
Alexandre Ardhuin
16d800b204
normalize setter format ( #8708 )
2017-03-10 21:52:30 +01:00
Alexandre Ardhuin
6a2148dde9
prefer const constructors ( #8594 )
...
* prefer const constructors
* fix double throw
2017-03-08 14:58:14 -08:00
Alexandre Ardhuin
ce734e8f24
apply the upcoming rule : directives_ordering ( #8582 )
2017-03-08 14:58:09 -08:00
Alexandre Ardhuin
329e52c02c
apply upcoming rule use_collection_literals_when_possible ( #8649 )
2017-03-08 14:57:31 -08:00
Chris Bracken
53daa55f93
Rollback example Xcode project changes ( #8645 )
...
* Revert "Update Hello World to latest iOS project template (#8634 )"
This reverts commit 6dc6ed4e97
.
* Revert "Update Gallery to latest iOS project template (#8637 )"
This reverts commit 84c42aac0e
.
* Revert "Update Stocks to latest iOS project template (#8640 )"
This reverts commit 90774c188a
.
2017-03-07 21:16:34 -08:00
Chris Bracken
19ad3ea456
Enable landscape mode in Flutter Gallery (iOS) ( #8638 )
...
Already enabled on Android.
2017-03-07 17:13:20 -08:00
Chris Bracken
84c42aac0e
Update Gallery to latest iOS project template ( #8637 )
2017-03-07 17:13:10 -08:00
Chris Bracken
a4125f3b0e
Declare Xcode 8.3.x compatibility in project files ( #8622 )
...
Update templates and example Xcode project files to indicate they've
been tested for Xcode 8.3 compatibility.
2017-03-07 13:11:41 -08:00
Chris Bracken
3b4f6b1ae0
Update Example iOS icon assets for Xcode 8.2.x ( #8616 )
...
Gallery and stocks:
* Add 20x20 notification icons.
* Remove unused 76x76 (3x scale) icon.
Other examples: update JSON to Xcode 8.2.1 defaults
Fixes warnings for missing/unused icon assets in Xcode 8.2.x
2017-03-07 12:29:08 -08:00
Hans Muller
44dbecc6be
Animation Demo performance tweaks ( #8586 )
2017-03-06 11:06:05 -08: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
Chris Bracken
c54cc96905
Default contacts demo to pinned AppBar ( #8445 )
2017-03-02 14:40:13 -08:00
xster
e55c7239ec
Fix test ( #8536 )
2017-03-02 12:46:43 -08:00
Alexandre Ardhuin
69b6bb87d1
prefer_is_empty and prefer_is_not_empty ( #8474 )
2017-03-01 22:17:30 -08:00
Ian Hickson
2f002885cc
Allow two shrine order pages to be on the screen at the same time. ( #8507 )
...
This happens when, for instance, you go back then forward quickly.
2017-03-01 22:07:37 -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
Michael Goderbauer
2a9fc2e70e
Remove self-package import ( #8483 )
...
This is apperently breaking some customers.
If this gets submitted, we should investigate why self-package imports
don't work for certain customers.
2017-02-28 19:45:29 -08:00
Michael Goderbauer
65835af4e6
Roll forward #8467 ( #8477 )
...
* Revert "Revert "Simplify path handling logic in dependency checker and devFS (#8414 )" (#8467 )"
This reverts commit 96ba7f76d2
.
* Intentionally use a self-package URI in flutter_gallery
* tests to catch problems with self-package imports
2017-02-28 17:21:17 -08:00
Adam Barth
ecb6efa926
Generalize AnimatedWidget to work with any Listenable ( #8469 )
2017-02-28 16:40:41 -08:00
Michael Thomsen
0533ffc020
Upgrade build tools to latest Android Studio default ( #8461 )
2017-02-28 18:25:28 +01:00
Adam Barth
f20c3d1032
Add a color
argument to Container
. ( #8396 )
...
It's common to just want a simple colored box. Simple thing should be simple,
so this patch adds a convenience argument to Continer for creating a box
decoration that is just a color.
Fixes #5555
2017-02-24 12:25:48 -08:00
Alexandre Ardhuin
8c043d06de
fix lints for directives_ordering rule ( #8382 )
2017-02-23 13:37:26 -08:00
xster
72fa281f12
Conform appbar buttons to Material ( #8263 )
...
Extend app bar left to edge, right to 4dp
Make leading button square and 56dp
Keep title at 72dp on Android according to Material
Renamed IconButton.size to .iconSize
IconButton minimum size expands to 48dp (#8264 )
IconButton default constraints to 48. Can still stretch to infinity but can't be smaller than 48.
Ink splash for IconButton 40% bigger than the touch target to match Material
Tests
2017-02-22 11:32:22 -08:00
Adam Barth
b6e282779a
Disable menu button when bottom sheet open ( #8319 )
...
Otherwise tapping the menu button causes the bottom sheet to disappear and
reappear.
Fixes #8275
2017-02-21 16:25:28 -08:00
Alexandre Ardhuin
e9a775bf38
prefer const constructors ( #8316 )
2017-02-21 14:54:29 -08:00
Alexandre Ardhuin
da925c7d71
Replace @checked with covariant ( #8300 )
...
Fixes #7734
2017-02-21 09:30:22 -08:00
Michael Thomsen
1e1f7703cc
Revert "Revert "Update /examples/ to new gradle based build flow ( #8173 )"" ( #8291 )
2017-02-21 12:22:26 +00:00
Ian Hickson
f9c2d7d9aa
Introduce a quick way to test across platforms ( #8262 )
2017-02-17 17:47:49 -08:00
Adam Barth
e0b12ca17e
Two becomes one ( #8253 )
...
Rename all the "2" classes related to scrolling to remove the "2". Now that the
old scrolling code is gone, we don't need to use the suffix.
2017-02-17 14:06:15 -08:00
Ian Hickson
0962dd6a94
More better toStrings and more vigorous smoke testing of gallery ( #8237 )
...
* More better toStrings and more vigorous smoke testing of gallery
* Update scroll_controller.dart
* Update sliver.dart
2017-02-17 12:56:25 -08:00
Ian Hickson
6303a32d63
Pesto crash ( #8238 )
2017-02-16 20:44:33 -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
Ian Hickson
659bc2263d
Port RefreshIndicator to slivers ( #8218 )
...
This does not attempt to correct any logic, only to port it as written.
The API changed a bit to take into account what is newly available and
no longer available in the new world.
2017-02-16 14:54:34 -08:00
Adam Barth
1773e47b03
Remove a number of old scrolling widgets: ( #8212 )
...
- ScrollableList
- ScrollableLazyList
- LazyBlock
- MaterialList
Clients should use ListView instead.
2017-02-15 21:30:51 -08:00
Yegor
d6527451a0
Revert "Update /examples/ to new gradle based build flow ( #8173 )" ( #8177 )
...
This reverts commit 8da4778e1d
.
2017-02-15 09:44:44 -08:00
Michael Thomsen
8da4778e1d
Update /examples/ to new gradle based build flow ( #8173 )
...
* Update hello_world to new gradle based build flow
* Update flutter_gallery to gradle based build
* Align hello_services with new gradle based build
* Update platform_services to new gradle based build
* Upgrade stock to gradle based build
2017-02-15 17:13:10 +01:00
Adam Barth
464a8e7cde
Formally deprecate Block and ScrollableViewport ( #8166 )
...
The replacements are ListView and SingleChildScrollView, respectively.
2017-02-14 21:03:55 -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