Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
2ba20e5a
Unverified
Commit
2ba20e5a
authored
Sep 19, 2022
by
Qun Cheng
Committed by
GitHub
Sep 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update token v0.127 to v0.132 (#111913)
parent
53322958
Changes
77
Hide whitespace changes
Inline
Side-by-side
Showing
77 changed files
with
165 additions
and
84 deletions
+165
-84
banner.json
dev/tools/gen_defaults/data/banner.json
+1
-1
bottom_app_bar.json
dev/tools/gen_defaults/data/bottom_app_bar.json
+1
-1
button_elevated.json
dev/tools/gen_defaults/data/button_elevated.json
+1
-1
button_filled.json
dev/tools/gen_defaults/data/button_filled.json
+1
-1
button_filled_tonal.json
dev/tools/gen_defaults/data/button_filled_tonal.json
+1
-1
button_outlined.json
dev/tools/gen_defaults/data/button_outlined.json
+1
-1
button_text.json
dev/tools/gen_defaults/data/button_text.json
+1
-1
card_elevated.json
dev/tools/gen_defaults/data/card_elevated.json
+1
-1
card_filled.json
dev/tools/gen_defaults/data/card_filled.json
+1
-1
card_outlined.json
dev/tools/gen_defaults/data/card_outlined.json
+1
-1
checkbox.json
dev/tools/gen_defaults/data/checkbox.json
+1
-1
chip_assist.json
dev/tools/gen_defaults/data/chip_assist.json
+1
-1
chip_filter.json
dev/tools/gen_defaults/data/chip_filter.json
+1
-1
chip_input.json
dev/tools/gen_defaults/data/chip_input.json
+1
-1
chip_suggestion.json
dev/tools/gen_defaults/data/chip_suggestion.json
+1
-1
color_dark.json
dev/tools/gen_defaults/data/color_dark.json
+1
-1
color_light.json
dev/tools/gen_defaults/data/color_light.json
+1
-1
date_picker_docked.json
dev/tools/gen_defaults/data/date_picker_docked.json
+1
-1
date_picker_modal.json
dev/tools/gen_defaults/data/date_picker_modal.json
+1
-1
dialog.json
dev/tools/gen_defaults/data/dialog.json
+1
-1
dialog_fullscreen.json
dev/tools/gen_defaults/data/dialog_fullscreen.json
+1
-1
elevation.json
dev/tools/gen_defaults/data/elevation.json
+1
-1
fab_extended_primary.json
dev/tools/gen_defaults/data/fab_extended_primary.json
+1
-1
fab_large_primary.json
dev/tools/gen_defaults/data/fab_large_primary.json
+1
-1
fab_primary.json
dev/tools/gen_defaults/data/fab_primary.json
+1
-1
fab_small_primary.json
dev/tools/gen_defaults/data/fab_small_primary.json
+1
-1
icon_button.json
dev/tools/gen_defaults/data/icon_button.json
+1
-1
icon_button_filled.json
dev/tools/gen_defaults/data/icon_button_filled.json
+1
-1
icon_button_filled_tonal.json
dev/tools/gen_defaults/data/icon_button_filled_tonal.json
+1
-1
icon_button_outlined.json
dev/tools/gen_defaults/data/icon_button_outlined.json
+1
-1
menu.json
dev/tools/gen_defaults/data/menu.json
+1
-1
motion.json
dev/tools/gen_defaults/data/motion.json
+1
-1
navigation_bar.json
dev/tools/gen_defaults/data/navigation_bar.json
+1
-1
navigation_drawer.json
dev/tools/gen_defaults/data/navigation_drawer.json
+1
-1
navigation_rail.json
dev/tools/gen_defaults/data/navigation_rail.json
+1
-1
navigation_tab_primary.json
dev/tools/gen_defaults/data/navigation_tab_primary.json
+43
-0
palette.json
dev/tools/gen_defaults/data/palette.json
+1
-1
progress_indicator_circular.json
dev/tools/gen_defaults/data/progress_indicator_circular.json
+12
-0
progress_indicator_linear.json
dev/tools/gen_defaults/data/progress_indicator_linear.json
+14
-0
radio_button.json
dev/tools/gen_defaults/data/radio_button.json
+1
-1
segmented_button_outlined.json
dev/tools/gen_defaults/data/segmented_button_outlined.json
+1
-1
shape.json
dev/tools/gen_defaults/data/shape.json
+1
-1
sheet_bottom.json
dev/tools/gen_defaults/data/sheet_bottom.json
+14
-0
slider.json
dev/tools/gen_defaults/data/slider.json
+1
-1
state.json
dev/tools/gen_defaults/data/state.json
+1
-1
switch.json
dev/tools/gen_defaults/data/switch.json
+1
-1
text_field_filled.json
dev/tools/gen_defaults/data/text_field_filled.json
+1
-2
text_field_outlined.json
dev/tools/gen_defaults/data/text_field_outlined.json
+1
-2
text_style.json
dev/tools/gen_defaults/data/text_style.json
+1
-1
time_picker.json
dev/tools/gen_defaults/data/time_picker.json
+1
-1
top_app_bar_large.json
dev/tools/gen_defaults/data/top_app_bar_large.json
+1
-1
top_app_bar_medium.json
dev/tools/gen_defaults/data/top_app_bar_medium.json
+1
-1
top_app_bar_small.json
dev/tools/gen_defaults/data/top_app_bar_small.json
+1
-1
typeface.json
dev/tools/gen_defaults/data/typeface.json
+1
-1
action_chip.dart
packages/flutter/lib/src/material/action_chip.dart
+1
-1
app_bar.dart
packages/flutter/lib/src/material/app_bar.dart
+1
-1
banner.dart
packages/flutter/lib/src/material/banner.dart
+1
-1
card.dart
packages/flutter/lib/src/material/card.dart
+2
-2
checkbox.dart
packages/flutter/lib/src/material/checkbox.dart
+1
-1
chip.dart
packages/flutter/lib/src/material/chip.dart
+1
-1
choice_chip.dart
packages/flutter/lib/src/material/choice_chip.dart
+6
-6
dialog.dart
packages/flutter/lib/src/material/dialog.dart
+1
-1
elevated_button.dart
packages/flutter/lib/src/material/elevated_button.dart
+1
-1
elevation_overlay.dart
packages/flutter/lib/src/material/elevation_overlay.dart
+1
-1
filled_button.dart
packages/flutter/lib/src/material/filled_button.dart
+2
-2
filter_chip.dart
packages/flutter/lib/src/material/filter_chip.dart
+1
-1
floating_action_button.dart
...ages/flutter/lib/src/material/floating_action_button.dart
+1
-1
icon_button.dart
packages/flutter/lib/src/material/icon_button.dart
+1
-1
input_chip.dart
packages/flutter/lib/src/material/input_chip.dart
+1
-1
input_decorator.dart
packages/flutter/lib/src/material/input_decorator.dart
+2
-2
navigation_bar.dart
packages/flutter/lib/src/material/navigation_bar.dart
+1
-1
navigation_rail.dart
packages/flutter/lib/src/material/navigation_rail.dart
+1
-1
outlined_button.dart
packages/flutter/lib/src/material/outlined_button.dart
+1
-1
switch.dart
packages/flutter/lib/src/material/switch.dart
+1
-1
text_button.dart
packages/flutter/lib/src/material/text_button.dart
+1
-1
text_field.dart
packages/flutter/lib/src/material/text_field.dart
+2
-2
typography.dart
packages/flutter/lib/src/material/typography.dart
+1
-1
No files found.
dev/tools/gen_defaults/data/banner.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.banner.action.focus.label-text.color"
:
"primary"
,
"md.comp.banner.action.focus.state-layer.color"
:
"primary"
,
...
...
dev/tools/gen_defaults/data/bottom_app_bar.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.bottom-app-bar.container.color"
:
"surface"
,
"md.comp.bottom-app-bar.container.elevation"
:
"md.sys.elevation.level2"
,
...
...
dev/tools/gen_defaults/data/button_elevated.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.elevated-button.container.color"
:
"surface"
,
"md.comp.elevated-button.container.elevation"
:
"md.sys.elevation.level1"
,
...
...
dev/tools/gen_defaults/data/button_filled.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.filled-button.container.color"
:
"primary"
,
"md.comp.filled-button.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/button_filled_tonal.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.filled-tonal-button.container.color"
:
"secondaryContainer"
,
"md.comp.filled-tonal-button.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/button_outlined.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.outlined-button.container.height"
:
40.0
,
"md.comp.outlined-button.container.shape"
:
"md.sys.shape.corner.full"
,
...
...
dev/tools/gen_defaults/data/button_text.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.text-button.container.height"
:
40.0
,
"md.comp.text-button.container.shape"
:
"md.sys.shape.corner.full"
,
...
...
dev/tools/gen_defaults/data/card_elevated.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.elevated-card.container.color"
:
"surface"
,
"md.comp.elevated-card.container.elevation"
:
"md.sys.elevation.level1"
,
...
...
dev/tools/gen_defaults/data/card_filled.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.filled-card.container.color"
:
"surfaceVariant"
,
"md.comp.filled-card.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/card_outlined.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.outlined-card.container.color"
:
"surface"
,
"md.comp.outlined-card.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/checkbox.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.checkbox.container.height"
:
18.0
,
"md.comp.checkbox.container.width"
:
18.0
,
...
...
dev/tools/gen_defaults/data/chip_assist.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.assist-chip.container.height"
:
32.0
,
"md.comp.assist-chip.container.shape"
:
"md.sys.shape.corner.small"
,
...
...
dev/tools/gen_defaults/data/chip_filter.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.filter-chip.container.height"
:
32.0
,
"md.comp.filter-chip.container.shadow-color"
:
"shadow"
,
...
...
dev/tools/gen_defaults/data/chip_input.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.input-chip.container.elevation"
:
"md.sys.elevation.level0"
,
"md.comp.input-chip.container.height"
:
32.0
,
...
...
dev/tools/gen_defaults/data/chip_suggestion.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.suggestion-chip.container.height"
:
32.0
,
"md.comp.suggestion-chip.container.shape"
:
"md.sys.shape.corner.small"
,
...
...
dev/tools/gen_defaults/data/color_dark.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.sys.color.background"
:
"md.ref.palette.neutral10"
,
"md.sys.color.error"
:
"md.ref.palette.error80"
,
...
...
dev/tools/gen_defaults/data/color_light.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.sys.color.background"
:
"md.ref.palette.neutral99"
,
"md.sys.color.error"
:
"md.ref.palette.error40"
,
...
...
dev/tools/gen_defaults/data/date_picker_docked.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.date-picker.docked.container.color"
:
"surface"
,
"md.comp.date-picker.docked.container.elevation"
:
"md.sys.elevation.level3"
,
...
...
dev/tools/gen_defaults/data/date_picker_modal.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.date-picker.modal.container.color"
:
"surface"
,
"md.comp.date-picker.modal.container.elevation"
:
"md.sys.elevation.level3"
,
...
...
dev/tools/gen_defaults/data/dialog.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.dialog.action.focus.label-text.color"
:
"primary"
,
"md.comp.dialog.action.focus.state-layer.color"
:
"primary"
,
...
...
dev/tools/gen_defaults/data/dialog_fullscreen.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.full-screen-dialog.container.color"
:
"surface"
,
"md.comp.full-screen-dialog.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/elevation.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.sys.elevation.level0"
:
0.0
,
"md.sys.elevation.level1"
:
1.0
,
...
...
dev/tools/gen_defaults/data/fab_extended_primary.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.extended-fab.primary.container.color"
:
"primaryContainer"
,
"md.comp.extended-fab.primary.container.elevation"
:
"md.sys.elevation.level3"
,
...
...
dev/tools/gen_defaults/data/fab_large_primary.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.fab.primary.large.container.color"
:
"primaryContainer"
,
"md.comp.fab.primary.large.container.elevation"
:
"md.sys.elevation.level3"
,
...
...
dev/tools/gen_defaults/data/fab_primary.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.fab.primary.container.color"
:
"primaryContainer"
,
"md.comp.fab.primary.container.elevation"
:
"md.sys.elevation.level3"
,
...
...
dev/tools/gen_defaults/data/fab_small_primary.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.fab.primary.small.container.color"
:
"primaryContainer"
,
"md.comp.fab.primary.small.container.elevation"
:
"md.sys.elevation.level3"
,
...
...
dev/tools/gen_defaults/data/icon_button.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.icon-button.disabled.icon.color"
:
"onSurface"
,
"md.comp.icon-button.disabled.icon.opacity"
:
0.38
,
...
...
dev/tools/gen_defaults/data/icon_button_filled.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.filled-icon-button.container.color"
:
"primary"
,
"md.comp.filled-icon-button.container.shape"
:
"md.sys.shape.corner.full"
,
...
...
dev/tools/gen_defaults/data/icon_button_filled_tonal.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.filled-tonal-icon-button.container.color"
:
"secondaryContainer"
,
"md.comp.filled-tonal-icon-button.container.shape"
:
"md.sys.shape.corner.full"
,
...
...
dev/tools/gen_defaults/data/icon_button_outlined.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.outlined-icon-button.container.shape"
:
"md.sys.shape.corner.full"
,
"md.comp.outlined-icon-button.container.size"
:
40.0
,
...
...
dev/tools/gen_defaults/data/menu.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.menu.cascading-menu-indicator.icon.color"
:
"onSurfaceVariant"
,
"md.comp.menu.cascading-menu-indicator.icon.size"
:
24.0
,
...
...
dev/tools/gen_defaults/data/motion.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.sys.motion.duration.extra-long1Ms"
:
700.0
,
"md.sys.motion.duration.extra-long2Ms"
:
800.0
,
...
...
dev/tools/gen_defaults/data/navigation_bar.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.navigation-bar.active.focus.icon.color"
:
"onSecondaryContainer"
,
"md.comp.navigation-bar.active.focus.label-text.color"
:
"onSurface"
,
...
...
dev/tools/gen_defaults/data/navigation_drawer.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.navigation-drawer.active.focus.icon.color"
:
"onSecondaryContainer"
,
"md.comp.navigation-drawer.active.focus.label-text.color"
:
"onSecondaryContainer"
,
...
...
dev/tools/gen_defaults/data/navigation_rail.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.navigation-rail.active.focus.icon.color"
:
"onSecondaryContainer"
,
"md.comp.navigation-rail.active.focus.label-text.color"
:
"onSurface"
,
...
...
dev/tools/gen_defaults/data/navigation_tab_primary.json
0 → 100644
View file @
2ba20e5a
{
"version"
:
"v0_132"
,
"md.comp.primary-navigation-tab.active.focus.state-layer.color"
:
"primary"
,
"md.comp.primary-navigation-tab.active.focus.state-layer.opacity"
:
"md.sys.state.focus.state-layer-opacity"
,
"md.comp.primary-navigation-tab.active.hover.state-layer.color"
:
"primary"
,
"md.comp.primary-navigation-tab.active.hover.state-layer.opacity"
:
"md.sys.state.hover.state-layer-opacity"
,
"md.comp.primary-navigation-tab.active-indicator.color"
:
"primary"
,
"md.comp.primary-navigation-tab.active-indicator.height"
:
3.0
,
"md.comp.primary-navigation-tab.active.pressed.state-layer.color"
:
"primary"
,
"md.comp.primary-navigation-tab.active.pressed.state-layer.opacity"
:
"md.sys.state.pressed.state-layer-opacity"
,
"md.comp.primary-navigation-tab.container.color"
:
"surface"
,
"md.comp.primary-navigation-tab.container.elevation"
:
"md.sys.elevation.level0"
,
"md.comp.primary-navigation-tab.container.height"
:
48.0
,
"md.comp.primary-navigation-tab.container.shape"
:
"md.sys.shape.corner.none"
,
"md.comp.primary-navigation-tab.divider.color"
:
"surfaceVariant"
,
"md.comp.primary-navigation-tab.divider.height"
:
1.0
,
"md.comp.primary-navigation-tab.inactive.focus.state-layer.color"
:
"onSurface"
,
"md.comp.primary-navigation-tab.inactive.focus.state-layer.opacity"
:
"md.sys.state.focus.state-layer-opacity"
,
"md.comp.primary-navigation-tab.inactive.hover.state-layer.color"
:
"onSurface"
,
"md.comp.primary-navigation-tab.inactive.hover.state-layer.opacity"
:
"md.sys.state.hover.state-layer-opacity"
,
"md.comp.primary-navigation-tab.inactive.pressed.state-layer.color"
:
"primary"
,
"md.comp.primary-navigation-tab.inactive.pressed.state-layer.opacity"
:
"md.sys.state.pressed.state-layer-opacity"
,
"md.comp.primary-navigation-tab.with-icon.active.focus.icon.color"
:
"primary"
,
"md.comp.primary-navigation-tab.with-icon.active.hover.icon.color"
:
"primary"
,
"md.comp.primary-navigation-tab.with-icon.active.icon.color"
:
"primary"
,
"md.comp.primary-navigation-tab.with-icon.active.pressed.icon.color"
:
"primary"
,
"md.comp.primary-navigation-tab.with-icon-and-label-text.container.height"
:
64.0
,
"md.comp.primary-navigation-tab.with-icon.icon.size"
:
24.0
,
"md.comp.primary-navigation-tab.with-icon.inactive.focus.icon.color"
:
"onSurface"
,
"md.comp.primary-navigation-tab.with-icon.inactive.hover.icon.color"
:
"onSurface"
,
"md.comp.primary-navigation-tab.with-icon.inactive.icon.color"
:
"onSurfaceVariant"
,
"md.comp.primary-navigation-tab.with-icon.inactive.pressed.icon.color"
:
"onSurface"
,
"md.comp.primary-navigation-tab.with-label-text.active.focus.label-text.color"
:
"primary"
,
"md.comp.primary-navigation-tab.with-label-text.active.hover.label-text.color"
:
"primary"
,
"md.comp.primary-navigation-tab.with-label-text.active.label-text.color"
:
"primary"
,
"md.comp.primary-navigation-tab.with-label-text.active.pressed.label-text.color"
:
"primary"
,
"md.comp.primary-navigation-tab.with-label-text.inactive.focus.label-text.color"
:
"onSurface"
,
"md.comp.primary-navigation-tab.with-label-text.inactive.hover.label-text.color"
:
"onSurface"
,
"md.comp.primary-navigation-tab.with-label-text.inactive.label-text.color"
:
"onSurfaceVariant"
,
"md.comp.primary-navigation-tab.with-label-text.inactive.pressed.label-text.color"
:
"onSurface"
,
"md.comp.primary-navigation-tab.with-label-text.label-text.text-style"
:
"titleSmall"
}
dev/tools/gen_defaults/data/palette.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.ref.palette.black"
:
"0xFF000000"
,
"md.ref.palette.error0"
:
"0xFF000000"
,
...
...
dev/tools/gen_defaults/data/progress_indicator_circular.json
0 → 100644
View file @
2ba20e5a
{
"version"
:
"v0_132"
,
"md.comp.circular-progress-indicator.active-indicator.color"
:
"primary"
,
"md.comp.circular-progress-indicator.active-indicator.shape"
:
"md.sys.shape.corner.none"
,
"md.comp.circular-progress-indicator.active-indicator.width"
:
4.0
,
"md.comp.circular-progress-indicator.four-color.active-indicator.four.color"
:
"tertiaryContainer"
,
"md.comp.circular-progress-indicator.four-color.active-indicator.one.color"
:
"primary"
,
"md.comp.circular-progress-indicator.four-color.active-indicator.three.color"
:
"tertiary"
,
"md.comp.circular-progress-indicator.four-color.active-indicator.two.color"
:
"primaryContainer"
,
"md.comp.circular-progress-indicator.size"
:
48.0
}
dev/tools/gen_defaults/data/progress_indicator_linear.json
0 → 100644
View file @
2ba20e5a
{
"version"
:
"v0_132"
,
"md.comp.linear-progress-indicator.active-indicator.color"
:
"primary"
,
"md.comp.linear-progress-indicator.active-indicator.height"
:
4.0
,
"md.comp.linear-progress-indicator.active-indicator.shape"
:
"md.sys.shape.corner.none"
,
"md.comp.linear-progress-indicator.four-color.active-indicator.four.color"
:
"tertiaryContainer"
,
"md.comp.linear-progress-indicator.four-color.active-indicator.one.color"
:
"primary"
,
"md.comp.linear-progress-indicator.four-color.active-indicator.three.color"
:
"tertiary"
,
"md.comp.linear-progress-indicator.four-color.active-indicator.two.color"
:
"primaryContainer"
,
"md.comp.linear-progress-indicator.track.color"
:
"surfaceVariant"
,
"md.comp.linear-progress-indicator.track.height"
:
4.0
,
"md.comp.linear-progress-indicator.track.shape"
:
"md.sys.shape.corner.none"
}
dev/tools/gen_defaults/data/radio_button.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.radio-button.disabled.selected.icon.color"
:
"onSurface"
,
"md.comp.radio-button.disabled.selected.icon.opacity"
:
0.38
,
...
...
dev/tools/gen_defaults/data/segmented_button_outlined.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.outlined-segmented-button.container.height"
:
40.0
,
"md.comp.outlined-segmented-button.disabled.icon.color"
:
"onSurface"
,
...
...
dev/tools/gen_defaults/data/shape.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.sys.shape.corner.extra-large"
:
{
"family"
:
"SHAPE_FAMILY_ROUNDED_CORNERS"
,
...
...
dev/tools/gen_defaults/data/sheet_bottom.json
0 → 100644
View file @
2ba20e5a
{
"version"
:
"v0_132"
,
"md.comp.sheet.bottom.docked.container.color"
:
"surface"
,
"md.comp.sheet.bottom.docked.container.shape"
:
"md.sys.shape.corner.extra-large.top"
,
"md.comp.sheet.bottom.docked.container.surface-tint-layer.color"
:
"surfaceTint"
,
"md.comp.sheet.bottom.docked.drag-handle.color"
:
"onSurfaceVariant"
,
"md.comp.sheet.bottom.docked.drag-handle.height"
:
4.0
,
"md.comp.sheet.bottom.docked.drag-handle.opacity"
:
0.4
,
"md.comp.sheet.bottom.docked.drag-handle.width"
:
32.0
,
"md.comp.sheet.bottom.docked.minimized.container.shape"
:
"md.sys.shape.corner.none"
,
"md.comp.sheet.bottom.docked.modal.container.elevation"
:
"md.sys.elevation.level1"
,
"md.comp.sheet.bottom.docked.standard.container.elevation"
:
"md.sys.elevation.level1"
}
dev/tools/gen_defaults/data/slider.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.slider.active.track.color"
:
"primary"
,
"md.comp.slider.active.track.height"
:
4.0
,
...
...
dev/tools/gen_defaults/data/state.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.sys.state.dragged.state-layer-opacity"
:
0.16
,
"md.sys.state.focus.state-layer-opacity"
:
0.12
,
...
...
dev/tools/gen_defaults/data/switch.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.switch.disabled.selected.handle.color"
:
"surface"
,
"md.comp.switch.disabled.selected.handle.opacity"
:
1.0
,
...
...
dev/tools/gen_defaults/data/text_field_filled.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.filled-text-field.active-indicator.color"
:
"onSurfaceVariant"
,
"md.comp.filled-text-field.active-indicator.height"
:
1.0
,
"md.comp.filled-text-field.caret.color"
:
"primary"
,
"md.comp.filled-text-field.container.color"
:
"surfaceVariant"
,
"md.comp.filled-text-field.container.height"
:
56.0
,
"md.comp.filled-text-field.container.shape"
:
"md.sys.shape.corner.extra-small.top"
,
"md.comp.filled-text-field.disabled.active-indicator.color"
:
"onSurface"
,
"md.comp.filled-text-field.disabled.active-indicator.height"
:
1.0
,
...
...
dev/tools/gen_defaults/data/text_field_outlined.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.outlined-text-field.caret.color"
:
"primary"
,
"md.comp.outlined-text-field.container.height"
:
56.0
,
"md.comp.outlined-text-field.container.shape"
:
"md.sys.shape.corner.extra-small"
,
"md.comp.outlined-text-field.disabled.input-text.color"
:
"onSurface"
,
"md.comp.outlined-text-field.disabled.input-text.opacity"
:
0.38
,
...
...
dev/tools/gen_defaults/data/text_style.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.sys.typescale.body-large.font"
:
"md.ref.typeface.plain"
,
"md.sys.typescale.body-large.line-height"
:
24.0
,
...
...
dev/tools/gen_defaults/data/time_picker.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.time-picker.clock-dial.color.ignore"
:
"onSurfaceVariant"
,
"md.comp.time-picker.clock-dial.container.size"
:
256.0
,
...
...
dev/tools/gen_defaults/data/top_app_bar_large.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.top-app-bar.large.container.color"
:
"surface"
,
"md.comp.top-app-bar.large.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/top_app_bar_medium.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.top-app-bar.medium.container.color"
:
"surface"
,
"md.comp.top-app-bar.medium.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/top_app_bar_small.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.comp.top-app-bar.small.container.color"
:
"surface"
,
"md.comp.top-app-bar.small.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/typeface.json
View file @
2ba20e5a
{
"version"
:
"v0_1
27
"
,
"version"
:
"v0_1
32
"
,
"md.ref.typeface.brand"
:
"Roboto"
,
"md.ref.typeface.plain"
:
"Roboto"
,
...
...
packages/flutter/lib/src/material/action_chip.dart
View file @
2ba20e5a
...
...
@@ -178,7 +178,7 @@ class ActionChip extends StatelessWidget implements ChipAttributes, TappableChip
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_ActionChipDefaultsM3
extends
ChipThemeData
{
const
_ActionChipDefaultsM3
(
this
.
context
,
this
.
isEnabled
)
...
...
packages/flutter/lib/src/material/app_bar.dart
View file @
2ba20e5a
...
...
@@ -2349,7 +2349,7 @@ class _AppBarDefaultsM2 extends AppBarTheme {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_AppBarDefaultsM3
extends
AppBarTheme
{
_AppBarDefaultsM3
(
this
.
context
)
...
...
packages/flutter/lib/src/material/banner.dart
View file @
2ba20e5a
...
...
@@ -453,7 +453,7 @@ class _BannerDefaultsM2 extends MaterialBannerThemeData {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
01
// Token database version: v0_1
32
class
_BannerDefaultsM3
extends
MaterialBannerThemeData
{
const
_BannerDefaultsM3
(
this
.
context
)
...
...
packages/flutter/lib/src/material/card.dart
View file @
2ba20e5a
...
...
@@ -214,9 +214,9 @@ class _CardDefaultsM2 extends CardTheme {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
// Generated version v0_1
27
// Generated version v0_1
32
class
_CardDefaultsM3
extends
CardTheme
{
const
_CardDefaultsM3
(
this
.
context
)
:
super
(
...
...
packages/flutter/lib/src/material/checkbox.dart
View file @
2ba20e5a
...
...
@@ -764,7 +764,7 @@ class _CheckboxDefaultsM2 extends CheckboxThemeData {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_CheckboxDefaultsM3
extends
CheckboxThemeData
{
_CheckboxDefaultsM3
(
BuildContext
context
)
...
...
packages/flutter/lib/src/material/chip.dart
View file @
2ba20e5a
...
...
@@ -2196,7 +2196,7 @@ bool _hitIsOnDeleteIcon({
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_ChipDefaultsM3
extends
ChipThemeData
{
const
_ChipDefaultsM3
(
this
.
context
,
this
.
isEnabled
)
...
...
packages/flutter/lib/src/material/choice_chip.dart
View file @
2ba20e5a
...
...
@@ -148,7 +148,7 @@ class ChoiceChip extends StatelessWidget
assert
(
debugCheckHasMaterial
(
context
));
final
ChipThemeData
chipTheme
=
ChipTheme
.
of
(
context
);
final
ChipThemeData
?
defaults
=
Theme
.
of
(
context
).
useMaterial3
?
_
Filter
ChipDefaultsM3
(
context
,
isEnabled
,
selected
)
?
_
Choice
ChipDefaultsM3
(
context
,
isEnabled
,
selected
)
:
null
;
return
RawChip
(
defaultProperties:
defaults
,
...
...
@@ -182,17 +182,17 @@ class ChoiceChip extends StatelessWidget
}
}
// BEGIN GENERATED TOKEN PROPERTIES -
Filter
Chip
// BEGIN GENERATED TOKEN PROPERTIES -
Choice
Chip
// Do not edit by hand. The code between the "BEGIN GENERATED" and
// "END GENERATED" comments are generated from data in the Material
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_
Filter
ChipDefaultsM3
extends
ChipThemeData
{
const
_
Filter
ChipDefaultsM3
(
this
.
context
,
this
.
isEnabled
,
this
.
isSelected
)
class
_
Choice
ChipDefaultsM3
extends
ChipThemeData
{
const
_
Choice
ChipDefaultsM3
(
this
.
context
,
this
.
isEnabled
,
this
.
isSelected
)
:
super
(
elevation:
0.0
,
shape:
const
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
8.0
))),
...
...
@@ -261,4 +261,4 @@ class _FilterChipDefaultsM3 extends ChipThemeData {
)!;
}
// END GENERATED TOKEN PROPERTIES -
Filter
Chip
// END GENERATED TOKEN PROPERTIES -
Choice
Chip
packages/flutter/lib/src/material/dialog.dart
View file @
2ba20e5a
...
...
@@ -1389,7 +1389,7 @@ class _DialogDefaultsM2 extends DialogTheme {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_DialogDefaultsM3
extends
DialogTheme
{
_DialogDefaultsM3
(
this
.
context
)
...
...
packages/flutter/lib/src/material/elevated_button.dart
View file @
2ba20e5a
...
...
@@ -530,7 +530,7 @@ class _ElevatedButtonWithIconChild extends StatelessWidget {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_ElevatedButtonDefaultsM3
extends
ButtonStyle
{
_ElevatedButtonDefaultsM3
(
this
.
context
)
...
...
packages/flutter/lib/src/material/elevation_overlay.dart
View file @
2ba20e5a
...
...
@@ -160,7 +160,7 @@ class _ElevationOpacity {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
// Surface tint opacities based on elevations according to the
// Material Design 3 specification:
...
...
packages/flutter/lib/src/material/filled_button.dart
View file @
2ba20e5a
...
...
@@ -500,7 +500,7 @@ class _FilledButtonWithIconChild extends StatelessWidget {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_FilledButtonDefaultsM3
extends
ButtonStyle
{
_FilledButtonDefaultsM3
(
this
.
context
)
...
...
@@ -624,7 +624,7 @@ class _FilledButtonDefaultsM3 extends ButtonStyle {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_FilledTonalButtonDefaultsM3
extends
ButtonStyle
{
_FilledTonalButtonDefaultsM3
(
this
.
context
)
...
...
packages/flutter/lib/src/material/filter_chip.dart
View file @
2ba20e5a
...
...
@@ -198,7 +198,7 @@ class FilterChip extends StatelessWidget
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_FilterChipDefaultsM3
extends
ChipThemeData
{
const
_FilterChipDefaultsM3
(
this
.
context
,
this
.
isEnabled
,
this
.
isSelected
)
...
...
packages/flutter/lib/src/material/floating_action_button.dart
View file @
2ba20e5a
...
...
@@ -804,7 +804,7 @@ class _FABDefaultsM2 extends FloatingActionButtonThemeData {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_FABDefaultsM3
extends
FloatingActionButtonThemeData
{
_FABDefaultsM3
(
this
.
context
,
this
.
type
,
this
.
hasChild
)
...
...
packages/flutter/lib/src/material/icon_button.dart
View file @
2ba20e5a
...
...
@@ -962,7 +962,7 @@ class _IconButtonDefaultMouseCursor extends MaterialStateProperty<MouseCursor> w
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_IconButtonDefaultsM3
extends
ButtonStyle
{
_IconButtonDefaultsM3
(
this
.
context
)
...
...
packages/flutter/lib/src/material/input_chip.dart
View file @
2ba20e5a
...
...
@@ -249,7 +249,7 @@ class InputChip extends StatelessWidget
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_InputChipDefaultsM3
extends
ChipThemeData
{
const
_InputChipDefaultsM3
(
this
.
context
,
this
.
isEnabled
)
...
...
packages/flutter/lib/src/material/input_decorator.dart
View file @
2ba20e5a
...
...
@@ -4444,9 +4444,9 @@ class _InputDecoratorDefaultsM2 extends InputDecorationTheme {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
// Generated version v0_1
27
// Generated version v0_1
32
class
_InputDecoratorDefaultsM3
extends
InputDecorationTheme
{
_InputDecoratorDefaultsM3
(
this
.
context
)
:
super
();
...
...
packages/flutter/lib/src/material/navigation_bar.dart
View file @
2ba20e5a
...
...
@@ -1257,7 +1257,7 @@ class _NavigationBarDefaultsM2 extends NavigationBarThemeData {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_NavigationBarDefaultsM3
extends
NavigationBarThemeData
{
_NavigationBarDefaultsM3
(
this
.
context
)
...
...
packages/flutter/lib/src/material/navigation_rail.dart
View file @
2ba20e5a
...
...
@@ -967,7 +967,7 @@ class _NavigationRailDefaultsM2 extends NavigationRailThemeData {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_NavigationRailDefaultsM3
extends
NavigationRailThemeData
{
_NavigationRailDefaultsM3
(
this
.
context
)
...
...
packages/flutter/lib/src/material/outlined_button.dart
View file @
2ba20e5a
...
...
@@ -451,7 +451,7 @@ class _OutlinedButtonWithIconChild extends StatelessWidget {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_OutlinedButtonDefaultsM3
extends
ButtonStyle
{
_OutlinedButtonDefaultsM3
(
this
.
context
)
...
...
packages/flutter/lib/src/material/switch.dart
View file @
2ba20e5a
...
...
@@ -1465,7 +1465,7 @@ class _SwitchDefaultsM2 extends SwitchThemeData {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_SwitchDefaultsM3
extends
SwitchThemeData
{
_SwitchDefaultsM3
(
BuildContext
context
)
...
...
packages/flutter/lib/src/material/text_button.dart
View file @
2ba20e5a
...
...
@@ -495,7 +495,7 @@ class _TextButtonWithIconChild extends StatelessWidget {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_TextButtonDefaultsM3
extends
ButtonStyle
{
_TextButtonDefaultsM3
(
this
.
context
)
...
...
packages/flutter/lib/src/material/text_field.dart
View file @
2ba20e5a
...
...
@@ -1478,9 +1478,9 @@ TextStyle _m2CounterErrorStyle(BuildContext context) =>
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
// Generated version v0_1
27
// Generated version v0_1
32
TextStyle
_m3InputStyle
(
BuildContext
context
)
=>
Theme
.
of
(
context
).
textTheme
.
bodyLarge
!;
...
...
packages/flutter/lib/src/material/typography.dart
View file @
2ba20e5a
...
...
@@ -739,7 +739,7 @@ class Typography with Diagnosticable {
// Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_1
27
// Token database version: v0_1
32
class
_M3Typography
{
_M3Typography
.
_
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment