MyButton.dangerOutlined constructor
MyButton.dangerOutlined({})
Implementation
MyButton.dangerOutlined({
super.key,
required String title,
IconData? icon,
required VoidCallback? onClick,
bool loading = false,
bool disabled = false,
}) : _type = _ButtonType.dangerOutlined,
super.tonal(
child: loading ? _loader() : _foreground(title, icon), onPressed: disabled || loading ? null : onClick);