dangerStyle property

  1. @override
SheetStyleByVariant dangerStyle
override

The SheetStyle to be applied to the sheet widget with danger severity

Implementation

@override
get dangerStyle => {
      SheetVariant.text: SheetStyle(
        foregroundColor: colorTheme.danger,
        backgroundColor: colorTheme.surface,
      ),
      SheetVariant.tonal: SheetStyle(
        foregroundColor: colorTheme.danger,
        backgroundColor: colorTheme.danger,
      ),
      SheetVariant.filled: SheetStyle(
        backgroundColor: colorTheme.danger,
        borderColor: colorTheme.danger,
      ),
      SheetVariant.elevated: SheetStyle(
        shadowColor: colorTheme.danger,
        foregroundColor: colorTheme.danger,
        backgroundColor: colorTheme.surface,
      ),
      SheetVariant.outlined: SheetStyle(
        foregroundColor: colorTheme.danger,
        backgroundColor: colorTheme.surface,
        borderColor: colorTheme.danger,
      ),
    }.merge(super.dangerStyle);