- 20 Aug, 2019 1 commit
-
-
Darren Austin authored
* Added new ButtonBarTheme to replace the deprecated ButtonTheme.bar method. * Responding to PR feedback. * [Material] Create material Banner component (#36880) This PR creates a new material widget for the Banner component. This includes a theme as well. This widget can be dropped into any application, ideally at the top of a listview or scrollview. (cherry picked from commit 35b6d668) Removed the use of ButtonTheme.bar in the Banner implementation. * Updated documentation from PR review comments.
-
- 16 Aug, 2019 1 commit
-
-
rami-a authored
-
- 05 Aug, 2019 1 commit
-
-
rami-a authored
This PR creates a new material widget for the Banner component. This includes a theme as well. This widget can be dropped into any application, ideally at the top of a listview or scrollview.
-
- 26 Jul, 2019 2 commits
-
-
lisa-liao authored
* [Menu] Create Menu theme * [Menu] Create Menu theme * [Menu] Formatting changes for Menu theme * [Menu] Fix spacing difference in theme_data.dart. * [Menu] Fix spacing difference in theme_data.dart. * Specifying types * Formatting changes * Address PR feedback * Formatting changes * Address PR feedback * Add inherited widget * Add inherited widget * Address PR feedback and add inherited widget. * Formatting changes. * Address PR feedback * Address PR feedback * Address PR feedback * Address PR feedback
-
Shi-Hao Hong authored
* Introduces ToggleButtons widget * Introduces ToggleButtonsTheme inherited widget * Introduces ThemeData.toggleButtonsTheme property
-
- 25 Jul, 2019 1 commit
-
-
Shi-Hao Hong authored
* Implement TooltipThemeData and TooltipTheme * Add text style property * Updated tooltip default colors for light and dark theme to match Material specification
-
- 24 Jul, 2019 2 commits
-
-
Shi-Hao Hong authored
Revert "[Material] Implement TooltipTheme and Tooltip.textStyle, fix Tooltip debugLabel, update Tooltip defaults (#36030)" (#36851) This reverts commit 62158a1b.
-
Shi-Hao Hong authored
[Material] Implement TooltipTheme and Tooltip.textStyle, fix Tooltip debugLabel, update Tooltip defaults (#36030) * Implement TooltipThemeData and TooltipTheme * Add tooltip text style property * Update default tooltip text style and decoration to match Material specification * Fix debugLabel incorrectly labeling "white" as "black", and vice versa by default
-
- 19 Jul, 2019 1 commit
-
-
chunhtai authored
-
- 06 Jun, 2019 1 commit
-
-
Anthony authored
Creates a Material Design range slider. The range slider is based off the updated slider, with the main difference being that it has 2 thumbs. By default, the thumbs cannot pass each other and both the thumb and the value indicator create a stroke when they are overlapping for better visibility.
-
- 05 Jun, 2019 1 commit
-
-
MH Johnson authored
* Support for stateful text colors in buttons * Add color and a11y tests for buttons
-
- 01 May, 2019 1 commit
-
-
rami-a authored
* Introduce BottomSheetTheme and shape support for bottom sheet * Add bottom sheet theme to ThemeData. Use theme in bottom sheet build * Expose color, elevation, shape to showModalBottomSheet helper * Expose color, elevation, shape to showBottomSheet helper * Address PR feedback * Address PR feedback * Address additional PR feedback
-
- 24 Apr, 2019 1 commit
-
-
rami-a authored
This PR introduces a number of changes and improvements to snack bars. This includes the ability to specify: floating style of snack bars that adhere to the updated Material spec elevation and shape on the SnackBar itself instead of relying on fixed values a snackBarTheme as part of ThemeData which allows you to customize all of the above on an app-wide level. This PR is includes the changes from #21484 as well as additional fixes and modifications. Thanks to @NikoYuwono for providing these changes and getting this off the ground!
-
- 05 Apr, 2019 1 commit
-
-
Tim Sneath authored
-
- 03 Apr, 2019 1 commit
-
-
Michael Goderbauer authored
-
- 20 Mar, 2019 1 commit
-
-
Anthony authored
[Material] Create a FloatingActionButton ThemeData and honor it within the FloatingActionButton (#28735) Adds a FloatingActionButtonThemeData so that FABs can be themed at the Theme level and independently. The properties that are now on the theme must be defaulted at the build level, in order to respect any contributing theme properties. Because of this, some tests had to be modified to look at properties after they are built. Also, since default behaviors are now tested in the FAB Theme test, some default tests in the FAB test no longer applied and were removed. The themable properties are: -backgroundColor -foregroundColor -elevation -disabledElevation -highlightElevation -shape
-
- 01 Feb, 2019 1 commit
-
-
MhdHejazi authored
-
- 24 Jan, 2019 1 commit
-
-
Will Larche authored
This change adds a CardTheme and tests for it. Golden is here: https://github.com/flutter/goldens/blob/ec26eeebb44068599c100d3f0c2db7102b047737/packages/flutter/test/material/card_theme.custom_shape.png From commit: https://github.com/flutter/goldens/commit/ec26eeebb44068599c100d3f0c2db7102b047737#diff-7564b206413654283ddc5cb59ecd64d4
-
- 22 Jan, 2019 1 commit
-
-
rami-a authored
This change creates an `AppBarTheme` to be used with `AppBar` widgets. This allows for users to theme their AppBars separately from their overall Theme if they choose.
-
- 10 Jan, 2019 1 commit
-
-
MH Johnson authored
* [WIP] BAB theme * [WIP] BAB theme * Update goldens * Extract helper function in tests * Update Goldens version * Add tests * [WIP] Hans first round comments * Added test * Added docs * Hans second round comments * Fixed analyzer error * Hans third round comments * ambient * Change [BottomAppBarTheme.of] to static * Final doc change
-
- 08 Jan, 2019 1 commit
-
-
Michael Goderbauer authored
-
- 05 Nov, 2018 1 commit
-
-
Florian Huonder authored
-
- 12 Oct, 2018 2 commits
-
-
matthew-carroll authored
This reverts commit 80f80ab0.
-
matthew-carroll authored
For G3 Roll: * Revert "MaterialButton must honor its minWidth and height parameters (#22919)" This reverts commit a0233233. * Revert "Update uses of ButtonTheme.bar: pass along the current Theme's colorScheme (#22827)" This reverts commit 655bf6a2. * Revert "ButtonTheme.of().colorScheme defers to Theme (#22880)" This reverts commit a590940e. * Revert "Bring TextTheme into alignment with the current Material spec (#22330)" This reverts commit 8bfb4b3e. * Revert "Added ColorScheme, updated ThemeData, ButtonTheme, material buttons (#22013)" This reverts commit eea3465a. * Manual adjustments to fix reversion issues.
-
- 10 Oct, 2018 1 commit
-
-
Hans Muller authored
-
- 02 Oct, 2018 1 commit
-
-
Hans Muller authored
Introduce an overall material "color scheme" and to make it possible to redefine how a component's visual properties bind to the color scheme and to the existing material Theme.
-
- 25 Sep, 2018 2 commits
-
-
MH Johnson authored
* Add tab bar theme. * Add tab bar theme. * Add tests, pass context to getters. * update goldens from linux box * update goldens from linux box * Added new golden test, addressed comments * override hashCode and == in TabBarTheme * Fix comment typos * Addressed Hans' comments. * Formatting changes * [TabBarTheme] Fixed spacing * [TabBarTheme] Update goldens version to latest commit
-
Hans Muller authored
MaterialPageRoute transitions are now defined by the Theme. Added (optional) support for Android P style page transitions.
-
- 30 Jul, 2018 1 commit
-
-
David Shuckerow authored
-
- 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
-