destructive static method
FBaseAlertStyle Function(FAlertStyle style)
destructive([
- FAlertStyle style(
- FAlertStyle style
The alert's destructive style.
Shorthand for the current context's FAlertStyles.destructive style.
Implementation
static FBaseAlertStyle Function(FAlertStyle style) destructive([FAlertStyle Function(FAlertStyle style)? style]) =>
(_) => _Resolve(
(context) => style?.call(context.theme.alertStyles.destructive) ?? context.theme.alertStyles.destructive,
);