- 29 Mar, 2018 2 commits
-
-
najeira authored
* AppBar accepts custom PageRoute * remove unused import * update AUTHORS
-
Hans Muller authored
-
- 28 Mar, 2018 1 commit
-
-
Stanislav Baranov authored
* Support for decimal and signed numeric keyboard * Comments * Rebase. * Roll engine to dd6f46c485192f4506035088c9065b9f5dbba9ab
-
- 27 Mar, 2018 1 commit
-
-
Hans Muller authored
-
- 25 Mar, 2018 2 commits
-
-
Greg Spencer authored
* Address post-submit comments * Added dispose protection for the animation controllers.
-
Greg Spencer authored
-
- 23 Mar, 2018 3 commits
-
-
xster authored
* Add more doc linking the material and cupertino refresh controls * review
-
Hans Muller authored
-
Greg Spencer authored
-
- 22 Mar, 2018 4 commits
-
-
Ian Hickson authored
-
Ian Hickson authored
This is not a grand refactor yet, it's just cleaning up what we have already, so that people who keep using this API (e.g. dialogs) have something coherent to deal with. The major changes are that Navigator and NavigatorState have the same API now, that most of the examples use `<void>` instead of `<Null>`, that the navigator observer can see replaces, and that the `settings` is moved from ModalRoute to Route. I also cleaned up some of the API documentation.
-
Hans Muller authored
-
Greg Spencer authored
This updates the visual look of the Chip class, so that it scales properly in the face of text scale (and label widget size) changes, and bases its height off of the label widget's height, constraining the other widgets it contains to be the same height. To do this properly, I had to implement a custom render object that will measure the height of the label, so the guts of this class are basically rewritten. In addition, to allow the circle avatar to increase in size when the chip does, I added minRadius and maxRadius arguments to it, and I updated its color handling to use the light/dark primary colors of the theme in a smart way instead of just using black and white. Updated and added tests.
-
- 21 Mar, 2018 2 commits
-
-
Hans Muller authored
-
Alexandre Ardhuin authored
-
- 20 Mar, 2018 2 commits
-
-
Alexandre Ardhuin authored
-
Jonah Williams authored
* rotate expansion icon fully if initial state expanded = true * add test case for initially expanded * remove unused import * Update expand_icon_test.dart add linebreak * import dart:math as math
-
- 19 Mar, 2018 4 commits
-
-
Ian Hickson authored
-
Ian Hickson authored
Fixes #7032
-
Greg Spencer authored
This adds a slider demo with a custom theme to the gallery. In the process of adding this, I decided to add a text theme to the SliderThemeData, since it's a pain to change the text style on the value indicator otherwise.
-
Ian Hickson authored
-
- 16 Mar, 2018 1 commit
-
-
David Shuckerow authored
* Add support to move the fab between positions. * Motion demo for the FAB works between center and end floating. * Add a Material curve to the offset animation. * Move the fab position into an object * Updates to docs * Updates to docs * Fix a lint on the bottom sheet type * Add a ScaffoldGeometry class * Improve the documentation * Improve the documentation * Add a fab motion animator * Add position and scale animations * FAB entrance and motion animations work * Get started on FAB motion * Make fab animation work properly. * Change the fab animator to be stored in the state of the scaffold. * Add a layout test * Fix spacing being off * Fix the entrance/exit animation test. * Add a textDirection to the layout delegate. * Fix const constructor lint checks * Add toStrings for the fab positioner/animator * Add a toString for CurveTween * Change the fab motion demo icon to a simple add icon. * Add tests and a custom fab positioner to the demo. * Do not start the fab's motion animation when the fab is null. * Adjust the code to pass the new tests. * Rename for in response to Hans' comment. * Revert the tabs fab demo * Use timeDilation, and clean up the animation code a little. * Clean up the prelayout geometry docs and ctr order * Cleanup fab transition widget code * Clean up comments on Scaffold, add cross-references between the two geometries * Explain the fab motion animation scheduling better * Add a const to the fab motion demo * Make the fab animation never jank by keeping track of where to move the fab to in the future. * Add a default fab positioner constant * Add space after comma in the demo * Add boilerplate dartdoc to all const constructors * Comment improvement * Rename 'fabSize' to 'floatingActionButtonSize' * Rename 'fabSize' to 'floatingActionButtonSize' * Rename 'fabSize' to 'floatingActionButtonSize' * Clean up the prelayout geometry object's dartdoc * Clean up the prelayout geometry object's dartdoc * Remove extraneous comment * Change possessive uses of Scaffold's to use dartdoc-compatible [Scaffold]'s * Rename the horizontalFabPadding to an expansion * Clean up controller cleanup and setState usage * Animate instead of lerp * Make the fab position animation use offsets instead of animations * Streamline the fab motion demo * Set up the animator to start from a reasonable place when interrupting animations. * Doc cleanup on the new animation interruption * Expand some uses of fab and clean up constants * Expand remaining public uses of fab to floating action button * Expand remaining public uses of fab to floating action button * Expand on the documentation for the fab positioner and animator * Refactor animations to broadcast the position properly. * Add the ability to turn on and off the fab to the motion demo. * Remove unused code * Change the fab animator to animate even when the fab is exitting. * Remove extra positioner. * Apps -> Applications in docs * Explain the scale animation. * Name the child parameter in the animated builder * RTL before LTR * Wrap the AppBar in the example code * const the fab motion demo name * Start a test against animation jumps * Test for jumps in the fab motion animation * Dont initialize values to null * Use constants, fix spacing from some of Hans' comments * Clarify the relationship between fab positioners and prelayout geometries * Explain the fab animmator a bit better * Explain the animation progress in the fab animation * Explain the animation restart better * Explain the animation restart better * Explain the prelayout geometry better * Explain that height is a vertical distance. * Explain the horizontal fab padding * Update the scaffold size description to explain what happens when a wild keyboard appears * Remove print statements * Update the scaffold geometry with information about it being available at paint time. * In one step of a transition * Explain how the top-start fab positioner works * Explain how the top-start fab positioner works * Refactor the scaffold layout to just pass a padding instead of a bottom, top, start and end. * Refactor the scaffold layout to just pass a padding instead of a bottom, top, start and end. * Action buttons with with custom positioners. * Add a rotation animation example. * Use a swap animation to show swapping between two different animations. * Use a swap animation to show swapping between two different animations. * Add an example for the size animations. * 2018 copyright * Extra empty line * Return new Scaffold * Extra blank line fix * All its contents have been laid out * Position the fab * Explain what the scaffold geometry is for. * Move asserts to different lines * The scaffoldsize will not * Initial rename of FabPositioners to FloatingActionButtonLocation * Rename comments in example to refer to location instead of positioner. * Rename fabpositioner to location in tests and in the scaffold field * Finish removing references to positioner in scaffold code. * Split the fab location and animation out into a separate file. * Make things more private * Import foundation instead of meta * Const curve instead of final.
-
- 15 Mar, 2018 1 commit
-
-
Hans Muller authored
-
- 14 Mar, 2018 7 commits
-
-
Conor Dockry authored
* Use theme for default icon color Replaces hard-coded black. * Better icon defaults for dark/light modes * Add default case to silence warning
-
Hans Muller authored
-
Hans Muller authored
-
Jonah Williams authored
* replace child parameter with builder on showDialog * change builder parameter to WidgetBuilder * mark child as deprecated and expand documentation to cover this and how builder should be used * tidy comments and address some feedback * phrasing * move space to prev line and add //ignore comments for deprecated member use * address comments and fix it's its * update code samples * adds semicolon to code snippets
-
Jonah Williams authored
* change ThemeData.primaryColor to PrimarySwatch instead of PrimarySwatch[500] * fix mismatched color in stock test case
-
Hans Muller authored
-
Alexandre Ardhuin authored
-
- 13 Mar, 2018 3 commits
-
-
Greg Spencer authored
This change makes the discrete slider show the value indicator for a minimum amount of time for any interaction (tap, drag).
-
Greg Spencer authored
During the review, we determined that it would be good for the value indicator to stretch when the text scale was smaller, and the shrink when it was larger, to keep the value visible over the finger at small sizes, and closer to the finger at large sizes. This implements that change.
-
Chris Bracken authored
Avoids a null pointer exception if dispose() is called on an already-disposed InkDecoration.
-
- 12 Mar, 2018 2 commits
-
-
Jason Simmons authored
-
Hans Muller authored
-
- 11 Mar, 2018 2 commits
-
-
Ian Hickson authored
This allows other code to get the same style without having to know exactly it is computed.
-
Ian Hickson authored
For example, mention the icon used for the drawer menu in the docs (this helps people writing unit tests); add DefaultAssetBundle sample code.
-
- 09 Mar, 2018 2 commits
-
-
Greg Spencer authored
Fixed the real repaint problem the Slider had (missing addListener), and added tests for it. Added GlobalKey reparenting test. Added the ability for the value indicator to slide left and right to avoid falling off the edge of the screen. It only shifts as much as it can without deforming, but even at large text scales, that is enough to keep the text on the screen. Updated the formatting on theme_data.dart and others to use longer line length. Also, removed a color tween that faded the value indicator in as it scaled, since that wasn't to spec.
-
Michael Goderbauer authored
-
- 08 Mar, 2018 1 commit
-
-
Todd Volkert authored
This moves toward more consistency in our messaging. Apps are launched using --debug, so the banner will reflect the build mode.
-