successStyle property

  1. @override
SheetStyleByVariant successStyle
override

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

Implementation

@override
get successStyle => {
      SheetVariant.text: SheetStyle(
        foregroundColor: colorTheme.success,
      ),
      SheetVariant.tonal: SheetStyle(
        foregroundColor: colorTheme.success,
      ),
      SheetVariant.filled: SheetStyle(
        foregroundColor: colorTheme.success,
      ),
      SheetVariant.elevated: SheetStyle(
        foregroundColor: colorTheme.success,
      ),
      SheetVariant.outlined: SheetStyle(
        foregroundColor: colorTheme.success,
        borderColor: colorTheme.success,
      ),
    }.merge(super.successStyle);