warning static method
Implementation
static ButtonState warning({
Color color = Colors.orange,
Color fg = Colors.white,
double iconSize = 24,
bool isCompact = true,
Widget? child,
}) => ButtonState(
id: 'warning',
color: color,
foregroundColor: fg,
isCompact: isCompact,
child: child ?? Icon(Icons.warning_amber_rounded, color: fg, size: iconSize),
);