- 03 Feb, 2016 4 commits
-
-
Adam Barth authored
RawKeyboardListener asserts if disposed without keyboard
-
Adam Barth authored
We need to check whether we're attached to the keyboard before trying to detach from the keyboard.
-
Hans Muller authored
AppBar extensions for Scaffold et al Add support for the appbar behavior described in the "Flexible space with image" section of https://www.google.com/design/spec/patterns/scrolling-techniques.html#scrolling-techniques-scrolling. For now, an "AppBar" is a toolbar, a toolbar and a tabbar arranged in a column, or a toolbar and flexible space widget arranged in a stack with the toolbar on top. The AppBar occupies the space behind the status bar, i.e. its origin is at the top of the screen. The Scaffold listens for scroll notifications from a Scrollable descendant identified by scrollableKey. Scrolling downwards from the top causes the Scaffold to shrink its appBar's height from appBarHeight to 0. Scrolling downwards when the appBar isn't visible causes its toolbar to reappear. Applications can specify the flexibleSpace - essentially the appbar's background - with a WidgetBuilder. The contents of the flexible space can track the appbar's relative height with Scaffold.of(context).appBarAnimation, an animation that's 0.0 when the appbar is fully visible and 1.0 when it has disappeared. Added FlexibleSpaceBar to simplify building a flexible space widget that animates a title and a background image per the Material Design spec. To enable the new behavior, specify the following Scaffold properties: ``` return new Scaffold( appBarHeight: appBarHeight, scrollableKey: scrollableKey, appBarBehavior: AppBarBehavior.scroll, ... ) ``` AppBarHeight should be greater than kToolBarHeight. Typically it will be much greater. ScrollableKey identifies the Scrollable that the Scaffold will track. AppBarBehavior.scroll indicates that the appbar will resize in response to scrolling. The Scrollable must be a descendant of the Scaffold body and must specify the same scrollableKey as well as a padding value that accounts for the appbar's height. For example: ``` body: new ScrollableViewport( key: scrollableKey, child: new Padding(padding: new EdgeDims.only(top: appBarHeight) ... ) ``` Also: - Added scrollableKey and scrollablePadding to MaterialList. They're applied to the ScrollableList child. - Fixed the padding support in ScrollableList. - Added a foregroundAlpha property to ToolBar. It controls the opacity of the icon and text themes' colors. - Removed the toolbar's "bottom" widget property. Use the flexibleSpace WidgetBuilder instead.
-
Hans Muller authored
Add support for the appbar behavior described in the "Flexible space with image" section of https://www.google.com/design/spec/patterns/scrolling-techniques.html#scrolling-techniques-scrolling.
-
- 02 Feb, 2016 16 commits
-
-
Adam Barth authored
Viewport fails to clip its AssetImage child
-
Adam Barth authored
We were getting confused about our layer tree offsets, which caused us to set an incorrect cull rect for the recording inside a viewport. This patch does away with layer tree offsets almost entirely. We now use them only at repaint boundaries, which is where we want the layer tree to be mutable. Fixes #1460
-
Yegor authored
tell people to submit code after LGTM
-
krisgiesing authored
Add scale awareness to images
-
yjbanov authored
-
Adam Barth authored
Update to new editing.mojom
-
Adam Barth authored
-
Kris Giesing authored
-
Devon Carew authored
add --start-paused,--debug-port flags
-
Devon Carew authored
-
Yegor authored
add section on submitting code in CONTRIBUTING.md
-
yjbanov authored
-
Yegor authored
add debugFillDescription to OverflowBox
-
yjbanov authored
-
Adam Barth authored
Now the keyboard is responsible for maintaining the state of the text field.
-
Collin Jackson authored
In addition to checking for the existence of the engine, ensure that it’s the correct version
-
- 01 Feb, 2016 12 commits
-
-
Kris Giesing authored
-
Kris Giesing authored
-
Devon Carew authored
refactor flutter logs
-
Kris Giesing authored
-
Collin Jackson authored
-
Ian Hickson authored
Semantics updates
-
Hixie authored
Port the tests to use the new interface.
-
Devon Carew authored
-
Kris Giesing authored
-
Hixie authored
-
Adam Barth authored
Update the Align docs
-
Adam Barth authored
They were out-of-date. Fixes #1391
-
- 31 Jan, 2016 8 commits
-
-
Devon Carew authored
fix a regex in the ios logs command
-
Devon Carew authored
fixed sub-process stdout parsing; added todos
-
Devon Carew authored
tweak the output for the analyze command
-
Devon Carew authored
-
Adam Barth authored
Adds the ability to move the caret by tapping
-
Adam Barth authored
Now the text input control knows how to move the caret when you tap inside the string. There's still some rough edges to polish up, but this patch is the first step. Fixes #108
-
Adam Barth authored
Fix analyzer warnings related to SemanticsListener
-
Adam Barth authored
These were introduced by the recent engine roll.
-