warningStyle property

  1. @override
SheetStyleByVariant warningStyle
override

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

Implementation

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