1. 24 May, 2018 1 commit
  2. 12 Apr, 2018 1 commit
    • Greg Spencer's avatar
      Adding ChipTheme, ChipThemeData, and some more tests. (#16447) · 4dbbf678
      Greg Spencer authored
      This converts the chips to use a ChipThemeData to get most of their customization values from (if not overridden by specific arguments to the chip constructors), and to have the base ThemeData contain one of these. It also adds the ChipTheme widget that will allow overriding the theme for a particular subtree in the widget hierarchy.
      
      Added tests for both, and just more tests in general for the Chips.
      4dbbf678
  3. 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
  4. 02 Mar, 2018 1 commit
  5. 01 Mar, 2018 1 commit
    • Greg Spencer's avatar
      Slider Visual Update (#14901) · 701eff4a
      Greg Spencer authored
      This implements an update to the look of the Slider widget.
      
      Specifically, it does the following:
      
      * Adds the ability to customize the colors of all components of the slider
      * Adds the ability to customize the shape of the slider thumb and value indicator
      * Adds the ability to show the value indicator on continuous sliders
      * Updates the default value indicator to be a "paddle" shape with new animations.
      * Changes the tick marks to be visible all the time on discrete sliders
      * Fixes a memory leak of an animation controller.
      * Removes "thumbOpenAtMin" flag, which is no longer needed, and can be emulated by the
      custom thumb shape support. It was not widely used.
      * Adds tests for all of the new features.
      701eff4a
  6. 21 Feb, 2018 2 commits
    • 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
    • Hans Muller's avatar
      24efb55b
  7. 05 Feb, 2018 1 commit
  8. 11 Jan, 2018 1 commit
    • Ian Hickson's avatar
      The Ink widget (#13900) · 09270dcb
      Ian Hickson authored
      This provides a way to draw colors, images, and general decorations on Material widgets, without interfering with InkWells that are further descendants of the widget.
      
      This thus provides a cleaner way to solve the issue of FlatButtons and InkWells not working when placed over Image widgets than the old hack of introducing a transparency Material.
      
      Fixes #3782.
      
      Also, some fixes to documentation, and remove a redundant property on the Image widget.
      09270dcb
  9. 09 Jan, 2018 1 commit
  10. 08 Jan, 2018 1 commit
  11. 04 Jan, 2018 1 commit
  12. 22 Sep, 2017 1 commit
  13. 24 Aug, 2017 1 commit
  14. 23 Jun, 2017 1 commit
  15. 21 May, 2017 1 commit
  16. 19 May, 2017 1 commit
  17. 09 May, 2017 1 commit
  18. 03 May, 2017 1 commit
  19. 02 Apr, 2017 1 commit
    • Adam Barth's avatar
      Rationalize text input widgets (#9119) · ae899486
      Adam Barth authored
      After this patch, there are three major text input widgets:
      
       * EditableText. This widget is a low-level editing control that
         interacts with the IME and displays a blinking cursor.
      
       * TextField. This widget is a Material Design text field, with all the
         bells and whistles. It is highly configurable and can be reduced down
         to a fairly simple control by setting its `decoration` property to
         null.
      
       * TextFormField. This widget is a FormField that wraps a TextField.
      
      This patch also replaces the InputValue data model for these widgets
      with a Listenable TextEditingController, which is much more flexible.
      
      Fixes #7031
      ae899486
  20. 24 Mar, 2017 1 commit
  21. 14 Mar, 2017 1 commit
  22. 01 Mar, 2017 1 commit
  23. 23 Feb, 2017 1 commit
  24. 16 Feb, 2017 1 commit
  25. 14 Feb, 2017 2 commits
  26. 19 Jan, 2017 1 commit
    • Adam Barth's avatar
      InkSplash and InkHighlight shouldn't be special (#7531) · 9f36737f
      Adam Barth authored
      Previously, these classes where in material.dart, which meant they could
      access private interfaces in that library. This patch moves them out
      into their own files so that they need to play by the rules of the
      public API.
      
      Fixes #5969
      9f36737f
  27. 09 Jan, 2017 1 commit
  28. 27 Nov, 2016 1 commit
  29. 23 Oct, 2016 1 commit
  30. 03 Oct, 2016 1 commit
  31. 29 Sep, 2016 1 commit
  32. 22 Sep, 2016 1 commit
  33. 16 Sep, 2016 1 commit
  34. 15 Sep, 2016 1 commit
  35. 26 Aug, 2016 1 commit
    • Dragoș Tiselice's avatar
      Added expansion panels. (#5523) · b8980aeb
      Dragoș Tiselice authored
      Added ExpansionPanel and ExpansionPanelList. The implementation
      is based on the Material design spec, without enforcing every
      facet of it, leaving the developer using this the liberty to
      enforced it lower down the widget tree. This decision was made
      based on the argument that implementing more of the spec would
      reduce flexibility to a point where some design would not be
      implementable with this widget anymore.
      b8980aeb
  36. 18 Aug, 2016 1 commit
  37. 15 Aug, 2016 1 commit
    • Ian Hickson's avatar
      A Flutter logo widget. (#5382) · 955b3e21
      Ian Hickson authored
      Instead of a PNG, the Flutter gallery widget is now drawn in code.
      
      There's now a FlutterLogoDecoration class that paints the flutter logo
      anywhere you can use a Decoration (e.g. AnimatedContainer).
      
      There's now a FlutterLogo class that honors the IconTheme.
      
      The About dialog box API now takes a Widget for the applicationIcon,
      instead of an ImageProvider. It uses IconTheme to make the icon the
      right size instead of using an Image widget.
      
      Add padding, duration, and curve properties to the DrawerHeader.
      Make the child of a DrawerHeader optional.
      
      Clean up UserAccuntsDrawerHeader a bit.
      
      Add some useful properties and methods to EdgeInsets.
      
      Add some debug logic to RenderDecoratedBox to catch unpaired
      save/restore calls when possible.
      
      Make GestureDetector fill its parent if it has no children. Fixes
      https://github.com/flutter/flutter/issues/5380
      955b3e21
  38. 11 Aug, 2016 1 commit