6580 Commits

Author SHA1 Message Date
Jason Simmons
bbd84bce93 Merge pull request #660 from jason-simmons/apk_output_label
Add output to "flutter apk" indicating where the APK file was written
2015-12-01 15:50:52 -08:00
Jason Simmons
da3a0b8ea2 Merge pull request #659 from jason-simmons/apk_init_manifest
Generate an Android manifest in "flutter init"
2015-12-01 15:47:29 -08:00
Jason Simmons
01ff4ef6bc Add output to "flutter apk" indicating where the APK file was written 2015-12-01 15:44:15 -08:00
Jason Simmons
76ced91388 Generate an Android manifest in "flutter init" 2015-12-01 15:28:19 -08:00
Ian Hickson
abf3f1bb00 Merge pull request #651 from Hixie/zero-size-painting-context
Remove the assert when opening popup menus.
2015-12-01 02:17:09 -08:00
Ian Hickson
fbd612e662 Remove the assert when opening popup menus.
Some paint bounds are in fact empty, e.g. at the start of a growing
animation if there's also a fade, the initial 0x0 box will also be
opacity:0, and might get a dedicated layer and PaintingContext.
2015-12-01 01:52:25 -08:00
Ian Hickson
1a0bdf4103 Merge pull request #621 from Hixie/material-ink
Model ink splashes more physically
2015-12-01 01:43:42 -08:00
Ian Hickson
ee802bfe31 Model ink splashes more physically 2015-12-01 01:36:11 -08:00
Adam Barth
366d078dcb Merge pull request #647 from abarth/update_test
Update package:test to the latest version
2015-11-30 21:31:18 -08:00
Adam Barth
f41869f639 Update package:test to the latest version 2015-11-30 18:41:10 -08:00
Adam Barth
c19102a3ef Merge pull request #648 from abarth/icon_button
Makes it easier to hit IconButton
2015-11-30 18:34:54 -08:00
Adam Barth
4e6b5267d3 Makes it easier to hit IconButton
The right fix here is to use a radial reaction, but for now we can just make
the gesture detector including the padding acround the icon in its hit test
region.

Fixes #575
2015-11-30 17:38:26 -08:00
Adam Barth
08dbc7d6fb Merge pull request #646 from abarth/input_padding
Fix Input padding to match the material spec
2015-11-30 17:17:55 -08:00
Adam Barth
6067b306dd Fix Input padding to match the material spec
Also, handle the case of "dense" input widgets that have less margin.

Fixes #626
2015-11-30 17:05:50 -08:00
Adam Barth
6fbe39e256 Merge pull request #645 from abarth/hide_text
Add input#hideText
2015-11-30 17:05:02 -08:00
Adam Barth
179d191e3a Add input#hideText
This feature can be used to implement password fields, where the user doesn't
want the text displayed on screen. Currently all the characters are hidden.
Eventualy we'll want to show the most recent character for some timeout.

Fixes #636
2015-11-30 16:56:38 -08:00
Ian Hickson
3b278c5677 Merge pull request #641 from Hixie/yak2-navigator-transactions
NavigatorTransaction
2015-11-30 15:32:17 -08:00
Hixie
f9ea1ce815 NavigatorTransaction
To make it easier to avoid pushing twice in one frame, provide a
transaction mechanism for the navigator.
2015-11-30 15:24:36 -08:00
Adam Barth
97cca4d47b Merge pull request #639 from abarth/default_enter_exit
Add a default onEnter/onExit for EnterExitTransition
2015-11-30 15:13:18 -08:00
Adam Barth
6f17228e43 Merge pull request #634 from abarth/popup_menu_align
PopupMenu shouldn't use CustomPaint
2015-11-30 15:13:02 -08:00
Adam Barth
e0f35a5f0d Add a default onEnter/onExit for EnterExitTransition
We now default to the identity transition.
2015-11-30 14:58:56 -08:00
Adam Barth
114135aadb Merge pull request #633 from abarth/fling_sheet_up
Bottom sheets shouldn't dismiss when flung up
2015-11-30 14:24:30 -08:00
Adam Barth
c810b0501f PopupMenu shouldn't use CustomPaint
Align is now powerful enough to do all the work we need to do here.
2015-11-30 14:23:14 -08:00
Ian Hickson
2f0e8eb1d7 Merge pull request #632 from Hixie/yak2-navigator-remove
New methods for manipulating Navigators.
2015-11-30 13:41:24 -08:00
Adam Barth
4472d06e02 Update engine 2015-11-30 13:37:06 -08:00
Adam Barth
7192dbb1c6 Bottom sheets shouldn't dismiss when flung up 2015-11-30 13:36:10 -08:00
Hixie
ce6a10412c New methods for manipulating Navigators.
* NavigatorState.replaceRouteBefore()
* NavigatorState.removeRouteBefore()
* NavigatorState.popUntil()
2015-11-30 13:33:15 -08:00
Ian Hickson
c951f66fae Merge pull request #631 from Hixie/yak2-replace
Add a "replace()" API for the navigator.
2015-11-30 12:54:07 -08:00
Hixie
d12539793a Add a "replace()" API for the navigator.
This lets you dynamically replace one route with another.
2015-11-30 12:42:55 -08:00
Hans Muller
d293bb8cc8 Merge pull request #622 from HansMuller/tabs_scroll_animation
Tabs scroll animation

The TabBar's selection is now represented by a TabBarSelection object which encapsulates both the previous and currently selected indices and the Performance used to animate the selection indicator.

Added a TabBarView class which displays a tab's contents. It uses a shared TabBarSelection to stay in sync with a TabBar. The TabBarView scrolls in sync with the TabBar when the selection changes. Eventually it will allow one to fling the selection forward or backwards.

Added a tabBar property to ToolBar. Typically the corresponding TabBarView will be the body of the toolbar's Scaffold.

Removed TabNavigatorView and TabNavigator.

Added a widget gallery tabs demo page. Removed the old tabs demo.
2015-11-30 12:22:10 -08:00
Hans Muller
9de4df1e8b TabNavigator animates selected TabView
The TabBar's selection is now represented by a TabBarSelection object which encapsulates both the previous and currently selected indices and the Performance used to animate the selection indicator.

Added a TabBarView class which displays a tab's contents. It uses a shared TabBarSelection to stay in sync with a TabBar. The TabBarView scrolls in sync with the TabBar when the selection changes. Eventually it will allow one to fling the selection forward or backwards.

Added a tabBar property to ToolBar. Typically the corresponding TabBarView will be the body of the toolbar's Scaffold.

Removed TabNavigatorView and TabNavigator.

Added a widget gallery tabs demo page. Removed the old tabs demo.
2015-11-30 12:13:17 -08:00
Adam Barth
40b3cf3f0f Merge pull request #612 from abarth/reorg_tools
Clean up code organization in flutter_tools
2015-11-28 21:34:01 -08:00
Adam Barth
9662d49e12 Clean up code organization in flutter_tools
1) Moved basic utility code into base/ directory to make it clear which code
   doesn't depend on Flutter-specific knowldge.
2) Move the CommandRunner subclasses into a runner/ directory because these
   aren't commands themselves.
2015-11-28 21:16:55 -08:00
Adam Barth
3821560841 Merge pull request #611 from abarth/rm_build_sky_apk
Remove build_sky_apk.dart
2015-11-28 19:32:39 -08:00
Adam Barth
c477b1250b Remove build_sky_apk.dart
This script has been subsumed by `flutter apk`.
2015-11-28 19:16:23 -08:00
Ian Hickson
8f7e6204a9 Merge pull request #609 from Hixie/upgrade-harder
dev/update_packages.dart --upgrade
2015-11-27 21:07:26 -08:00
Ian Hickson
92a6212007 dev/update_packages.dart --upgrade
Add an --upgrade flag to the dev/update_packages.dart flag which runs
'pub upgrade' instead of 'pub get'. Tell people to use this when using
'flutter analyze' since 'pub get' doesn't have the same guarantee of
getting everything in sync.
2015-11-27 20:01:13 -08:00
Adam Barth
33ca330797 Remove two unused imports 2015-11-26 19:20:30 -08:00
Adam Barth
7c7a4fdee3 Merge pull request #603 from abarth/disabled_switch
Properly paint disabled switches
2015-11-26 18:52:14 -08:00
Adam Barth
3fbfe732f4 Properly paint disabled switches
Also, refactor more common code into RenderToggleable and handle dark themes
more correctly.

Fixes #601
2015-11-26 11:50:15 -08:00
Adam Barth
d449eec62f Merge pull request #602 from abarth/type_lists
Add missing types for list literals
2015-11-26 11:37:27 -08:00
Adam Barth
0844233deb Add missing types for list literals 2015-11-26 10:40:06 -08:00
Adam Barth
50b6bde887 Merge pull request #600 from abarth/selection_controls
Improve Material selection controls
2015-11-26 02:01:21 -08:00
Adam Barth
3f06da0eaa Improve Material selection controls
- These controls now have proper radial reactions.
 - You can drag the switch.
 - The radio button animates properly.
 - There's a demo in the Material Gallery
2015-11-26 01:54:34 -08:00
Adam Barth
5873905e5a Merge pull request #599 from abarth/toggleable
Move RenderTogglable to material.dart
2015-11-25 23:33:07 -08:00
Adam Barth
d6e21d7fc3 Merge pull request #598 from abarth/gallery
Move Material Gallery demos into a directory
2015-11-25 23:33:04 -08:00
Adam Barth
9fae3864a3 Move Material Gallery demos into a directory
Also, clean up the main.dart file to prepare for making dynamic theme changes.
2015-11-25 23:16:39 -08:00
Adam Barth
09cf84d9b6 Move RenderTogglable to material.dart
Fixes #219
2015-11-25 23:15:17 -08:00
Ian Hickson
77cf420aab Merge pull request #597 from Hixie/fractional-offset-operators
Operators needed to lerp a FractionalOffset.
2015-11-25 18:07:49 -08:00
Ian Hickson
bb2443794f Merge pull request #596 from Hixie/icons
List assets used by Stocks demo
2015-11-25 18:07:37 -08:00