infoStyle property
The ButtonStyle
to be applied to the sheet widget with info severity
Implementation
@override
get infoStyle => {
ButtonVariant.text: DrivenButtonStyle(
selectedStyle: ButtonStyle(
foregroundColor: colorTheme.info,
),
),
ButtonVariant.tonal: DrivenButtonStyle(
selectedStyle: ButtonStyle(
foregroundColor: colorTheme.info,
),
),
ButtonVariant.filled: DrivenButtonStyle(
selectedStyle: ButtonStyle(
backgroundColor: colorTheme.info,
),
),
ButtonVariant.elevated: DrivenButtonStyle(
selectedStyle: ButtonStyle(
foregroundColor: colorTheme.info,
),
),
ButtonVariant.outlined: DrivenButtonStyle(
selectedStyle: ButtonStyle(
foregroundColor: colorTheme.info,
borderColor: colorTheme.info,
),
),
}.merge(super.infoStyle);