Chris Bracken
6dc6ed4e97
Update Hello World to latest iOS project template ( #8634 )
2017-03-07 16:36:07 -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
Sarah Zakarias
63b9f56c55
Update platform_services to query battery level instead of location. ( #8554 )
2017-03-06 11:52:31 +01:00
Chris Bracken
33ef949efc
Declare locals as final where not reassigned ( #8576 )
...
Fix a few regressions.
2017-03-03 18:40:19 -08:00
Chris Bracken
7a52fb6772
Declare locals final where not reassigned (stocks) ( #8573 )
2017-03-03 18:05:27 -08:00
Chris Bracken
4c8c420e0b
Declare locals final where not reassigned (layers) ( #8572 )
2017-03-03 18:04:27 -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
Michael Thomsen
55e10a6630
Add exception handling ( #8528 )
2017-03-02 16:15:52 +01: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 Thomsen
34c63aff84
Update platform-services to new APIs ( #8488 )
2017-03-01 17:36:07 +01:00
Michael Thomsen
1b52d46b0e
Add missing IntelliJ metadata files to platform_services ( #8487 )
2017-03-01 15:43:47 +01:00
Mikkel Nygaard Ravn
390993d070
PlatformXxxChannel concepts added to support Flutter/platform interop ( #8394 )
...
New concepts: PlatformMessageChannel (basic message send/receive superseding some existing PlatformMessages methods), PlatformMethodChannel (method invocation and event streams), pluggable codecs for messages and method calls: unencoded binary, string, json, and 'standard' flutter binary encoding.
2017-03-01 14:35:41 +01: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
Michael Thomsen
8857fa080e
Revert back IntelliJ .iml file to project root ( #8139 )
...
* Move .iml file back to project root directory
* Update .iml location in all examples
2017-02-14 18:15:26 +01:00
Adam Barth
fd30f63161
Replace Scrollbar with Scrollbar2 ( #8133 )
2017-02-14 08:55:16 -08:00
Hans Muller
ef004ae97d
New Heroes ( #8112 )
2017-02-14 08:20:16 -08:00
Jakob Andersen
0370f712f6
Add uses-material-design: true to pubspec.yaml in examples. ( #8088 )
2017-02-14 13:47:43 +00:00
Adam Barth
9df8b7211b
Deprecate old list-based scrolling widgets ( #8120 )
...
- MaterialList
- ScrollableList
- ScrollableLazyList
- LazyBlock
All of these widgets can be replaced by ListView now.
2017-02-13 17:45:29 -08:00
szakarias
93c6dbb9f7
Add platform_services sample ( #8058 )
...
* Add platform_services sample
* update build.gradle to use latest scripts
* use FlutterActivity
* Updated ExampleInstrumentedTest.java and deleted FlutterPlugin.groovy
* Remove getRandom code from main.dart
* remove unused import
2017-02-13 11:14:34 +01:00
Adam Barth
547f89d0c0
Remove two clients of MaterialList ( #8076 )
...
Clients should use ListView instead.
2017-02-11 23:33:56 -08:00
Jakob Andersen
b246c5e7e9
Make new project template gradle-based for Android. ( #7902 )
...
* Make new project template gradle-based for Android.
With this change, the 'new project' template uses the same gradle-based build for Android as the hello_services example. This has some implications on build performance, since we're now building a complete Android app instead of just combining a pre-compiled .dex with the Flutter assets.
The very first build is a little over 2x slower, since it needs to download gradle and build the build scripts before getting to the actual code. Subsequent builds with changes to the code are comparable to the old builds. Null builds are faster. Enabling the gradle daemon speeds up subsequent builds by around 5s.
* Move Flutter Gradle plugin to Flutter root.
2017-02-10 09:37:38 +01:00
Ian Hickson
581b929bc7
Actually fix the memory_nav benchmark ( #8041 )
2017-02-09 15:35:22 -08:00