1. 30 Jan, 2019 1 commit
  2. 17 Jan, 2019 1 commit
  3. 15 Jan, 2019 1 commit
  4. 09 Jan, 2019 1 commit
  5. 08 Jan, 2019 1 commit
  6. 07 Jan, 2019 1 commit
  7. 16 Nov, 2018 1 commit
  8. 31 Oct, 2018 1 commit
  9. 16 Oct, 2018 1 commit
  10. 25 Sep, 2018 3 commits
  11. 13 Sep, 2018 1 commit
  12. 12 Sep, 2018 1 commit
  13. 02 Aug, 2018 1 commit
  14. 01 Aug, 2018 1 commit
    • jslavitz's avatar
      Drawer fix (#20015) · d2ab29d2
      jslavitz authored
      * Drawer fix
      
      * fixed nits
      
      * fixed nits
      
      * fixed nits
      
      * final change
      
      * Drawer fix final
      d2ab29d2
  15. 27 Jul, 2018 1 commit
  16. 23 Jul, 2018 1 commit
  17. 20 Jul, 2018 1 commit
  18. 16 Jul, 2018 2 commits
  19. 09 Jul, 2018 1 commit
  20. 03 Jul, 2018 2 commits
  21. 21 Jun, 2018 1 commit
    • amirh's avatar
      Move the notch computation from the FAB to the BAB. (#18372) · c39f2f26
      amirh authored
      Move the notch computation from the FAB to the BAB.
      
      The notch in the BAB (bottom action bar) for the FAB (floating action button) was previously kept as part of the FAB's implementation. This was done to keep the shape of the FAB and the shape of the notch coupled.
      That approach resulted in a somewhat complex and 'non Fluttery' mechanism for propagating the notch computation from the FAB to the BAB.
      
      This CL uncouples the FAB and the notch computation.
      With the new API the BAB computes its overall shape including the notch using a NotchedShape delegate.
      
      This includes multiple breaking changes:
        * Scaffold.setFloatingActionButtonNotchFor is deleted.
        * The ComputeNotch type is deleted.
        * The hasNotch property of BottomAppBar is deleted.
        * The notchMargin property of FloatingActionButton is deleted.
      
      Quick migration guide from the previous API:
      
      | Previous API | New API |
      | ------------------|-------------|
      | BottomAppBar(hasNotch: false) | BottomAppBar() |
      | Using a FloatingActionButton with: BottomAppBar() / BottomAppBar(hasNotch: true) | BottomAppBar(shape: CircularNotchedRectangle()) |
      | Scaffold.setFloatingActionButtonNotchFor(..) | No longer supported |
      c39f2f26
  22. 05 Jun, 2018 1 commit
  23. 29 Mar, 2018 1 commit
  24. 22 Mar, 2018 1 commit
    • 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
  25. 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
  26. 09 Mar, 2018 1 commit
  27. 21 Feb, 2018 1 commit
    • amirh's avatar
      Initial implementation of BottomAppBar (#14713) · 7996d7fb
      amirh authored
      * add a FAB NotchMaker to ScaffoldGeometry
      
      * add a notchMaker to FloatingActionButton
      
      * Initial implementation of BottomAppBar
      
      Mainly includes the notch making logic.
      Not yet tested as currently there is no way to make the FAB and the BAB
      overlap, once #14368 to lands we could add unit tests to the
      BottomAppBar as well.
      
      * use a closeable for clearing the FAB notchmaker
      7996d7fb
  28. 14 Feb, 2018 1 commit
  29. 13 Feb, 2018 1 commit
    • amirh's avatar
      ScaffoldGeometry plumbing. (#14580) · f802cf6d
      amirh authored
      Adds a ScaffoldGeometry class and ValueNotifier for it.
      A scaffold's ScaffoldGeometry notifier is held in the _ScaffoldState, and is passed to _ScaffoldScope.
      New ScaffoldGemometry objects are built and published to the notifier.
      f802cf6d
  30. 07 Feb, 2018 1 commit
  31. 02 Feb, 2018 1 commit
  32. 01 Feb, 2018 1 commit
    • Chris Bracken's avatar
      Position bottom bar widgets relative to window (#14406) · b0e17949
      Chris Bracken authored
      Note: also fixes a bug wherein bottom media padding was applied even in the
      presence of persistent footer buttons.
      
      The material spec states that the keyboard should be positioned on top
      of any bottom navigation bar or persistent footer buttons widget(s).
      
      We no longer inset the bottom of bottom navigation bars / persistent
      footer buttons by the bottom viewInset.
      
      Body content bottom (and the bottom of bottom sheets) is now determined
      by the greater of:
        1. bottom view inset (the keyboard height)
        2. bottom elements (nav bar, footer buttons)
      relative to the window max-Y.
      b0e17949
  33. 11 Jan, 2018 1 commit
  34. 08 Dec, 2017 1 commit
    • Chris Bracken's avatar
      Scaffold resizeToAvoidBottomPadding uses view insets (#13437) · 6ff844a9
      Chris Bracken authored
      Now that keyboard height is modelled as a (bottom) view inset, migrate
      scaffold bottom resizing to use view insets instead of bottom padding,
      which, after an engine roll, will only be used for safe areas.
      
      Until the aforementioned engine roll, the keyboard height is still
      included in both bottom padding and view insets. As such
      resizeToAvoidBottomPadding still drives bottom padding removal until
      that roll lands.
      
      Renames _ScaffoldLayout.bottomPadding to bottomViewInset
      6ff844a9
  35. 07 Dec, 2017 2 commits
    • Chris Bracken's avatar
      Update scaffold test bottom bar height (#13429) · 38c82ea8
      Chris Bracken authored
      This patch contains no framework changes.
      
      This change adjusts a test bottom navigation bar height to be greater
      than the media bottom padding.
      
      This change is pre-factoring to clarify diffs in an upcoming change that
      will expose bottom padding to the bottom navigation bar in order to
      allow it to visually adapt its appearance in the presence of bottom
      padding such as thatexposed for the iPhone X home screen indicator.
      Since the bottom padding was previously greater than the height of the
      bottom navigation bar, the height of insideBottomNavigation bar was
      driven to 0 when padding is exposed.
      38c82ea8
    • Chris Bracken's avatar
      Use greater of viewInsets, padding for Scaffold bottom padding (#13423) · 71021b47
      Chris Bracken authored
      Scaffold bottom padding now applies the maximum of window
      viewInsets.bottom (typically used for iOS safe areas) and padding.bottom
      (typically used for keyboard height).
      71021b47