ButtonStyle.danger constructor
ButtonStyle.danger()
A predefined danger button style.
Displays a red button, used for destructive or irreversible actions.
Implementation
ButtonStyle.danger()
: this(
backgroundColor: '#dc3545',
textStyle: TextStyle(
color: '#ffffff',
fontWeight: FontWeight.w600,
fontSize: 16.0,
),
hoverColor: '#bd2130',
);