Adam Barth
1a3adae101
Use @required
for onPressed and onChanged ( #4534 )
...
We now use the `@required` annotation to encourage developers to
explicitly set onPressed and onChanged callbacks to null when that would
disable the widget.
Fixes #287
2016-06-12 13:25:06 -07:00
Adam Barth
cc44696754
Remove leftover app.so references ( #4531 )
...
This file is now app.dylib.
2016-06-11 21:16:42 -07:00
Adam Barth
0b6df634af
Polish HostMessages ( #4515 )
...
Cleans up a few style nits in hello_services and adds support for automatic
JSON encoding and decoding to the HostMessages interface.
2016-06-10 15:04:01 -07:00
Matt Perry
2315432d2f
Pesto polish fixes. ( #4514 )
...
- Fix the background color and AppBar transparency on the Recipe page.
- Use a Hero animation for the recipe card.
- Draw the background image under the status bar on the recipe page.
- Added instructional text on favorites page when there are no favorites.
BUG=https://github.com/flutter/flutter/issues/4403
BUG=https://github.com/flutter/flutter/issues/4405
BUG=https://github.com/flutter/flutter/issues/4436
BUG=https://github.com/flutter/flutter/issues/4399
2016-06-10 16:33:50 -04:00
Matt Perry
ffde6777fc
Pull Flutter gallery assets from Google's git repo. ( #4493 )
...
This repo contains the final licensed images.
2016-06-09 16:03:10 -04:00
Ian Hickson
f75fd5c389
Header for PaginatedDataTable ( #4468 )
...
Also renames ButtonTheme.footer to ButtonTheme.bar.
2016-06-08 17:29:26 -07:00
Ian Hickson
1fe57277cf
Improve interactivity of the Contacts demo ( #4479 )
...
We're explicitly saying that making these icons do anything useful is
out of scope, so the best we'll do here is show a snackbar.
2016-06-08 17:27:24 -07:00
Matt Perry
479c7da9f1
Add a 'Return to Gallery' drawer option to Pesto. ( #4472 )
...
* Add a 'Return to Gallery' drawer option to Pesto.
BUG=https://github.com/flutter/flutter/issues/4402
* oops
2016-06-08 17:04:40 -04:00
Matt Perry
3e0e6b9997
Smoothly scale the Pesto logo as the app bar resizes. ( #4465 )
...
Also update the assets version to pull in better quality logo images.
BUG=https://github.com/flutter/flutter/issues/4407
2016-06-08 15:49:21 -04:00
Ian Hickson
007d0a2f39
Cache intrinsic dimensions ( #4446 )
...
Also, make sure that the parent is notified when they change.
Fixes #2298
2016-06-07 22:07:12 -07:00
Adam Barth
6e530ea862
Make pesto demo scroll fast ( #4443 )
...
We can viewport the content using a ScrollableGrid. Also, we can use the
padding mechanisms of the grid to avoid extra padding widgets.
2016-06-07 19:52:03 -07:00
Ian Hickson
68f92d4f34
Provide UI to paginate PaginatedDataTable ( #4382 )
...
Also:
* Make PaginatedDataTable able to scroll itself horizontally.
* Make drop down buttons support having an explicit text style and icon
size given.
* Fix a bug with drop-down buttons asserting when opened partly
off-screen.
* Make sure to pop the drop-down button's route if the drop-down button
is discarded while the route is up.
* Remove extraneous padding on drop-down buttons. (Couldn't figure out
why it was there, and it breaks alignment when a drop-down is mixed
with other text.)
* Some docs improvements.
* Add Route.isActive
* Add a setState() method to ModalRoutes.
2016-06-07 16:11:30 -07:00
Ian Hickson
5e6baf4a26
Correct grammar in shrine demo ( #4381 )
...
I was also going to implement sorting and emptying the cart but the
current data model doesn't make that easy, so I gave up on that. That's
why the TODOs are moved around though.
2016-06-07 16:05:39 -07:00
Todd Volkert
7ac0ce7938
Add API for specifying the system overlay style. ( #4422 )
...
Fixes 3544
2016-06-07 14:39:15 -07:00
Adam Barth
5af67e1592
Add support for target
to gradle build ( #4420 )
...
This lets you build something other than `lib/main.dart`.
2016-06-07 13:05:42 -07:00
Matt Perry
0783f9d633
Remove "Drop-down button" from the transtions perf test. ( #4417 )
...
It's no longer part of the gallery app.
BUG=https://github.com/flutter/flutter/issues/4390
2016-06-07 13:13:51 -04:00
Adam Barth
130f77177d
Make Shrine scroll fast ( #4408 )
...
This fix isn't completely statisfying because it has a scaling limit. The ideal
fix would actually viewport the tiles in the grid. However, this fix is much
easier at the moment.
Fixes #4395
2016-06-06 20:23:40 -07:00
Adam Barth
4f4f24eac5
Loosen dependencies on string_scanner ( #4412 )
...
Now that there's a new string_scanner in town, we're having dependency
resolution conflict because of flutter_markdown's tight dependency. This
patch loosens the dependency and resolves the conflict.
2016-06-06 19:22:55 -07:00
Adam Barth
8f03ebe56b
Teach FlutterPlugin.groovy about AOT builds ( #4389 )
...
The `flutter.buildMode` property now controls whether to build in debug,
profiling, or release.
2016-06-06 12:56:04 -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
Adam Barth
423a31f473
Merge hello_android into hello_services ( #4366 )
...
The hello_services example can now be built both for Android and iOS.
2016-06-03 16:15:03 -07:00
Hans Muller
df1c158e0b
Updated calculator demo ( #4363 )
2016-06-03 14:10:50 -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
Adam Barth
8171aa86f0
Document how to build hello_services for iOS ( #4354 )
...
This patch adds some sensible defaults to xcode_backend.sh and documents how to
build hello_services for iOS using Xcode.
2016-06-03 12:20:54 -07:00
Hans Muller
0b7e975e2c
Updated fitness and weather manual tests, new asset locations ( #4351 )
2016-06-03 10:38:03 -07: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
88d47d5705
Remove animation from Gallery header ( #4322 )
...
Although beautiful, having a continuous animation on the front page of the
gallery gives the impression that Flutter burns battery and makes phones hot.
This patch replaces the animation with solid purple. However, we might
eventually want to use a static image.
2016-06-02 09:57:47 -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
Ian Hickson
0618da7ca2
PaginatedDataTable (part 1) ( #4306 )
...
This introduces the key parts of a paginated data table, not including
the built-in pagination features.
* Provide more data for the data table demo, so there's data to page.
* Introduce a ChangeNotifier class which abstracts out
addListener/removeListener/notifyListeners. We might be able to use
this to simplify existing classes as well, though this patch doesn't
do that.
* Introduce DataTableSource, a delegate for getting data for data
tables. This will also be used by ScrollingDataTable in due course.
* Introduce PaginatedDataTable, a widget that wraps DataTable and only
shows N rows at a time, fed by a DataTableSource.
2016-06-01 16:13:40 -07:00
Ian Hickson
bf6ae3ee76
Reenable the gallery smoke test ( #4303 )
...
...and fix some grid and table intrinsic issues it uncovered.
2016-06-01 15:34:48 -07:00
Ian Hickson
787fb3be7d
Simplify intrinsic dimension APIs ( #4283 )
2016-05-31 14:59:48 -07:00
Adam Barth
52cf289101
Switch to using real location data ( #4282 )
2016-05-31 14:12:07 -07:00
Adam Barth
8c805e234d
Teach hello_services to provide a platform service ( #4277 )
...
Currently this service just returns mock data, but it exercises the plumbing.
2016-05-31 13:18:53 -07:00
Adam Barth
7de84709cf
Address review comments on prior patch ( #4270 )
...
I pulled the trigger to land the previous patch too quickly and missed a
number of comments.
2016-05-30 14:47:49 -07:00
Adam Barth
26a4d7bbad
Add an example of an extensible iOS app ( #4252 )
...
This example shows how to build a basic app using a custom Xcode project.
Future patches will bring the functionality up to par with hello_android.
2016-05-29 14:08:35 -07:00
Adam Barth
d1cb026a65
Update engine and Mojo usage ( #4258 )
...
The new mojom.dart code makes mocking services a bit tricky. I've filed
https://github.com/domokit/mojo/issues/786 about improving that.
2016-05-28 18:28:21 -07:00
Jason Simmons
d6147fd7fa
Update the Gradle plugin to use --local-engine instead of the deprecated --engine-src-path ( #4255 )
2016-05-27 17:12:52 -07:00
Adam Barth
36d01c3541
"Swipe items to dismiss" demo needs full-bleed dividers ( #4231 )
...
Remove spurious padding.
Fixes #3980
Fixes #3560
2016-05-26 17:06:10 -07:00
Adam Barth
474ff67556
Polish sliders ( #4176 )
...
Address feedback from material design team.
Fixes #4144
Fixes #4145
Fixes #4146
2016-05-24 17:53:23 -07:00
Hans Muller
bacd3d2cb0
Revised Drawer Header ( #4160 )
2016-05-24 12:31:42 -07:00
Hans Muller
487234db02
TabPageSelector demo: use chevron icons instead of arrows ( #4153 )
2016-05-24 09:57:33 -07:00
Hans Muller
cf83a81329
Correct layout ( #4115 )
2016-05-23 14:24:10 -07:00
Devon Carew
65bed96103
move the calculator files around ( #4112 )
2016-05-23 12:55:09 -07:00
Hans Muller
41d1a9f1da
Skip gallery smoke test ( #4108 )
2016-05-23 12:04:33 -07:00
Ian Hickson
d0bac85da4
Move the new calculator demo into the gallery. ( #4092 )
2016-05-21 10:56:02 -07:00
Hans Muller
5b8677d15d
Allow tab bars in flexible app bars ( #4086 )
2016-05-20 18:07:15 -07:00
Hans Muller
1f06dc44cd
ScrollConfiguration ( #4026 )
2016-05-20 16:59:09 -07:00
Ian Hickson
06d80f22f0
Identify the widgets you tap on in live tests ( #4079 )
2016-05-20 14:21:38 -07:00