- 24 May, 2018 1 commit
-
-
Michael Goderbauer authored
-
- 12 Apr, 2018 1 commit
-
-
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.
-
- 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.
-
- 02 Mar, 2018 1 commit
-
-
Hans Muller authored
-
- 01 Mar, 2018 1 commit
-
-
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.
-
- 21 Feb, 2018 2 commits
-
-
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
-
Hans Muller authored
-
- 05 Feb, 2018 1 commit
-
-
Hans Muller authored
-
- 11 Jan, 2018 1 commit
-
-
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.
-
- 09 Jan, 2018 1 commit
-
-
Hans Muller authored
-
- 08 Jan, 2018 1 commit
-
-
Hans Muller authored
-
- 04 Jan, 2018 1 commit
-
-
amirh authored
-
- 22 Sep, 2017 1 commit
-
-
Yegor authored
* internationalize time numerals * tests * use foundation.dart instead of meta.dart * address comments
-
- 24 Aug, 2017 1 commit
-
-
Hans Muller authored
-
- 23 Jun, 2017 1 commit
-
-
Michael Goderbauer authored
* Provide haptic/acoustic feedback for tap & long-press on Android * review comments * fixed example code * review comments * comment fix
-
- 21 May, 2017 1 commit
-
-
xster authored
Moved everything icons related except the material icon button and the materialicon font list to widget
-
- 19 May, 2017 1 commit
-
-
Ian Hickson authored
-
- 09 May, 2017 1 commit
-
-
Hans Muller authored
-
- 03 May, 2017 1 commit
-
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/7988
-
- 02 Apr, 2017 1 commit
-
-
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
-
- 24 Mar, 2017 1 commit
-
-
Hans Muller authored
-
- 14 Mar, 2017 1 commit
-
-
Hans Muller authored
-
- 01 Mar, 2017 1 commit
-
-
Adam Barth authored
This widget is useful on its own. This patch factors it out of AppBar so folks can use it separately. Fixes #8489
-
- 23 Feb, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 16 Feb, 2017 1 commit
-
-
Adam Barth authored
- ScrollableList - ScrollableLazyList - LazyBlock - MaterialList Clients should use ListView instead.
-
- 14 Feb, 2017 2 commits
-
-
Adam Barth authored
Also use the word "dropdown" consistently over "drop down".
-
Adam Barth authored
This feature is wired in differently in the new scrolling world.
-
- 19 Jan, 2017 1 commit
-
-
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
-
- 09 Jan, 2017 1 commit
-
-
Hans Muller authored
-
- 27 Nov, 2016 1 commit
-
-
Ian Hickson authored
This fixes minor issues I ran into while using Flutter.
-
- 23 Oct, 2016 1 commit
-
-
Wyatt Arent authored
-
- 03 Oct, 2016 1 commit
-
-
Adam Barth authored
Fixes #988
-
- 29 Sep, 2016 1 commit
-
-
Adam Barth authored
Rather than removing all the padding from an AlertDialog, we now just use Dialog directly for the date picker.
-
- 22 Sep, 2016 1 commit
-
-
Dragoș Tiselice authored
-
- 16 Sep, 2016 1 commit
-
-
Dragoș Tiselice authored
Added a widget that gives fine control over the use of steppers. At any single moment, one step is shown with it own controls and content.
-
- 15 Sep, 2016 1 commit
-
-
Dragoș Tiselice authored
Renamed expansion_panels.dart to expansion_panel.dart.
-
- 26 Aug, 2016 1 commit
-
-
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.
-
- 18 Aug, 2016 1 commit
-
-
Dragoș Tiselice authored
Added a widget that automaitcally rotates the expansion icon and offers a callback interface that captures presses.
-
- 15 Aug, 2016 1 commit
-
-
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
-
- 11 Aug, 2016 1 commit
-
-
Dragoș Tiselice authored
MergeableMaterial is an animated container that knows how to merge separate slices of Material together.
-