- 13 Feb, 2020 1 commit
-
-
Greg Spencer authored
-
- 25 Jan, 2020 1 commit
-
-
Hans Muller authored
-
- 24 Jan, 2020 1 commit
-
-
Dan Field authored
-
- 15 Jan, 2020 1 commit
-
-
Tianguang authored
-
- 09 Jan, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 08 Jan, 2020 1 commit
-
-
Greg Spencer authored
-
- 13 Dec, 2019 1 commit
-
-
Alexandre Ardhuin authored
* implicit-casts:false in flutter/lib/src/material * address review comments
-
- 04 Dec, 2019 1 commit
-
-
Greg Spencer authored
* Add a density attribute to ThemeData * Simplify tests * Review changes (Hans)
-
- 27 Nov, 2019 2 commits
-
-
Ian Hickson authored
* Update project.pbxproj files to say Flutter rather than Chromium Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright. * Update the copyright notice checker to require a standard notice on all files * Update copyrights on Dart files. (This was a mechanical commit.) * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine. Some were already marked "The Flutter Authors", not clear why. Their dates have been normalized. Some were missing the blank line after the license. Some were randomly different in trivial ways for no apparent reason (e.g. missing the trailing period). * Clean up the copyrights in non-Dart files. (Manual edits.) Also, make sure templates don't have copyrights. * Fix some more ORGANIZATIONNAMEs
-
Greg Spencer authored
This PR adds TargetPlatform.macOS to the TargetPlatform enum. This allows us to begin implementation of some adaptive UI based on which target platform is desired. I haven't updated the tests here, that will come in a follow-up PR.
-
- 14 Oct, 2019 1 commit
-
-
Darren Austin authored
* Updated the BottomAppBar to use elevation overlays when a dark theme is used. * Moved the code for calculating the overlay color to a new utility ElevationOverlay class and made it private by not including in the material package.
-
- 10 Oct, 2019 1 commit
-
-
Darren Austin authored
Also updated the documentation for the ThemeData constructor to include descriptions of parameters that don't map to specific fields directly.
-
- 07 Oct, 2019 1 commit
-
-
Darren Austin authored
The Material Dark Theme spec has been updated (or soon will be) to clarify that the elevation overlay that is applied to surface colors to indicate elevation should be based off of the colorScheme.onSurface color and not white. This commit implements this change.
-
- 04 Oct, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 30 Sep, 2019 1 commit
-
-
Erick Ghaumez authored
* set the copyWith toggleButtonsTheme argument type to ToggleButtonsThemeData * add a ThemeData.copyWith test
-
- 17 Sep, 2019 1 commit
-
-
Brian Egan authored
-
- 22 Aug, 2019 1 commit
-
-
LongCatIsLooong authored
-
- 20 Aug, 2019 2 commits
-
-
Ian Hickson authored
-
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
-
- 06 Aug, 2019 1 commit
-
-
Darren Austin authored
Provide a new ThemeData.from() method that constructs a Theme based off the colors in a given ColorScheme.
-
- 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
-
- 16 Jul, 2019 1 commit
-
-
Darren Austin authored
Added support for a semi-transparent white overlay color for `Material` widgets to indicate their elevation in a dart theme. A new `ThemeData.applyElevationOverlayColor` flag was added to control this behavior, which is off by default for backwards compatibility reasons.
-
- 10 Jul, 2019 1 commit
-
-
Shi-Hao Hong authored
* Add Colors.white38 * Update ThemeData.disabledColor and ButtonThemeData.disabledColor to Colors.white38 * Update pre-existing tests to expect Colors.white38 instead of Colors.white30 * Update API documentation to reflect these changes
-
- 13 Jun, 2019 1 commit
-
-
Michael Goderbauer authored
-
- 17 May, 2019 1 commit
-
-
Greg Spencer authored
This adds support for an animated focusColor and hoverColor to InputDecorator. This color will blend with the background over a fade in period whenever the InputDecorator is focused or hovered, respectively. It also adds a Listener to the TextField to listen for hover events.
-
- 15 May, 2019 1 commit
-
-
Greg Spencer authored
This implements focus and hover handling for Material buttons. It inserts Focus widgets into the tree in order to allow buttons to be focusable via keyboard traversal (a.k.a. TAB traversal), and Listener widgets into the InkWell to allow the detection of hover states for widgets. Addresses #11344, #1608, and #13264.
-
- 03 May, 2019 1 commit
-
-
Efthymis Sarmpanis authored
-
- 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
-
- 27 Apr, 2019 1 commit
-
-
Shi-Hao Hong authored
-
- 24 Apr, 2019 2 commits
-
-
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!
-
Anthony authored
[Material] Update slider and slider theme with new sizes, shapes, and color mappings (2nd attempt) (#31564) #30390 was rolled back. This PR will re-roll it forward. This PR makes a number of changes to the visual appearance of material sliders: Sizes/Shapes ** enabled thumb radius from 6 to 10 ** disabled thumb radius from 4 to 10 with no gap ** default track shape is a rounded rect rather than a rect ** Colors ** all of the colors now use the new color scheme ** overlay opacity has been reduce from 16% to 12% ** value indicator text color now respects the indicator it is on by using onPrimary ** disabledThumb color no respects the surface it is on by using onSurface The slider theme is also now constructed consistently with other theme objects within the ThemeData. By default, all values are null, and have default values that are resolved in the slider itself, rather than in the slider theme.
-
- 20 Apr, 2019 1 commit
-
-
MH Johnson authored
Revert "[Material] Update slider and slider theme with new sizes, shapes, and color mappings (#30390)" (#31339) This reverts commit b1039f0f. (This is a temporary revert while some of our customers deal with the breaking changes involved.)
-
- 18 Apr, 2019 1 commit
-
-
Anthony authored
This PR makes a number of changes to the visual appearance of material sliders: Sizes/Shapes ** enabled thumb radius from 6 to 10 ** disabled thumb radius from 4 to 10 with no gap ** default track shape is a rounded rect rather than a rect ** Colors ** all of the colors now use the new color scheme ** overlay opacity has been reduce from 16% to 12% ** value indicator text color now respects the indicator it is on by using onPrimary ** disabledThumb color no respects the surface it is on by using onSurface The slider theme is also now constructed consistently with other theme objects within the ThemeData. By default, all values are null, and have default values that are resolved in the slider itself, rather than in the slider theme.
-
- 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
-