successStyle property
The SheetStyle
to be applied to the sheet widget with success severity
Implementation
@override
get successStyle => {
SheetVariant.text: SheetStyle(
foregroundColor: colorTheme.success,
backgroundColor: colorTheme.surface,
),
SheetVariant.tonal: SheetStyle(
foregroundColor: colorTheme.success,
backgroundColor: colorTheme.success,
),
SheetVariant.filled: SheetStyle(
backgroundColor: colorTheme.success,
borderColor: colorTheme.success,
),
SheetVariant.elevated: SheetStyle(
shadowColor: colorTheme.success,
foregroundColor: colorTheme.success,
backgroundColor: colorTheme.surface,
),
SheetVariant.outlined: SheetStyle(
foregroundColor: colorTheme.success,
backgroundColor: colorTheme.surface,
borderColor: colorTheme.success,
),
}.merge(super.successStyle);