variantStyle property
The SheetStyle
to be applied to the variant sheet widget
Implementation
@override
get variantStyle => {
SheetVariant.text: SheetStyle(
foregroundColor: colorTheme.onSurface,
backgroundColor: colorTheme.surface,
),
SheetVariant.tonal: SheetStyle(
foregroundColor: colorTheme.onSurface,
backgroundColor: appTheme.unselectedWidgetColor,
),
SheetVariant.filled: SheetStyle(
backgroundColor: appTheme.unselectedWidgetColor,
),
SheetVariant.elevated: SheetStyle(
backgroundColor: colorTheme.surface,
),
SheetVariant.outlined: SheetStyle(
foregroundColor: colorTheme.onSurface,
backgroundColor: colorTheme.surface,
),
}.merge(super.variantStyle);