destructive constant
AbstractButtonStyle
const destructive
Destructive button variant for delete/remove actions.
Features warning colors (typically red) to indicate data-destructive actions.
Implementation
static const AbstractButtonStyle destructive =
ComponentThemeButtonStyle<DestructiveButtonTheme>(
fallback: ButtonVariance(
decoration: _buttonDestructiveDecoration,
mouseCursor: _buttonMouseCursor,
padding: _buttonPadding,
textStyle: _buttonDestructiveTextStyle,
iconTheme: _buttonDestructiveIconTheme,
margin: _buttonZeroMargin,
),
);