1. 29 Mar, 2018 2 commits
  2. 28 Mar, 2018 1 commit
  3. 27 Mar, 2018 1 commit
  4. 25 Mar, 2018 2 commits
  5. 23 Mar, 2018 3 commits
  6. 22 Mar, 2018 4 commits
    • Ian Hickson's avatar
    • Ian Hickson's avatar
      Clean up the existing Navigator API. (#15718) · aba0379d
      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.
      aba0379d
    • Hans Muller's avatar
    • Greg Spencer's avatar
      Creating chips custom renderer, updating visual look. (#15596) · 4141946c
      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.
      4141946c
  7. 21 Mar, 2018 2 commits
  8. 20 Mar, 2018 2 commits
  9. 19 Mar, 2018 4 commits
  10. 16 Mar, 2018 1 commit
    • David Shuckerow's avatar
      Add support for placing the FAB in different positions (#14368) · dd0acea1
      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.
      dd0acea1
  11. 15 Mar, 2018 1 commit
  12. 14 Mar, 2018 7 commits
  13. 13 Mar, 2018 3 commits
    • Greg Spencer's avatar
      Add slider minimum interaction time (#15358) · d28e9aa5
      Greg Spencer authored
      This change makes the discrete slider show the value indicator for a minimum amount of time for any interaction (tap, drag).
      d28e9aa5
    • Greg Spencer's avatar
      Add neck stretch (#15445) · fc96326b
      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.
      fc96326b
    • Chris Bracken's avatar
      Avoid NPE in InkDecoration dispose (#15473) · dc03398b
      Chris Bracken authored
      Avoids a null pointer exception if dispose() is called on an
      already-disposed InkDecoration.
      dc03398b
  14. 12 Mar, 2018 2 commits
  15. 11 Mar, 2018 2 commits
  16. 09 Mar, 2018 2 commits
    • Greg Spencer's avatar
      Adding edge avoidance, painting tests, general cleanup (#15078) · 7fab7f6d
      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.
      7fab7f6d
    • Michael Goderbauer's avatar
      5d03a593
  17. 08 Mar, 2018 1 commit