Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions packages/material_ui/lib/src/theme_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,23 @@ enum MaterialTapTargetSize {
shrinkWrap,
}

/// Defines the Material Design style variant used by Material components.
enum StyleVariant {
/// The Material Design 3 style variant.
material3,

/// The Material Design 3 Expressive style variant.
///
/// Material 3 Expressive support is under development. Apps or components
/// that opt into this variant may see visual changes as more Expressive
/// features get added.
///
/// See also:
///
/// * [Material Design 3 Expressive updates](https://m3.material.io/#9f2db05b-ebbb-47c2-892d-1cca35afa386) for design guidelines.
material3Expressive,
}

/// Defines the configuration of the overall visual [Theme] for a [MaterialApp]
/// or a widget subtree within the app.
///
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
changelog: |
- Adds the `StyleVariant` enum defining the Material 3 and Material 3 Expressive style variants.
version: minor
Loading