SuraIconButton.action constructor
const
SuraIconButton.action({
- Key? key,
- required VoidCallback? onTap,
- required Widget icon,
- EdgeInsets margin = const EdgeInsets.all(8),
- EdgeInsets padding = const EdgeInsets.all(8),
- double borderRadius = 32,
- Color backgroundColor = Colors.transparent,
- double elevation = 0.0,
- BorderSide? borderSide,
- Widget? badge,
Implementation
const SuraIconButton.action({
Key? key,
required this.onTap,
required this.icon,
this.margin = const EdgeInsets.all(8),
this.padding = const EdgeInsets.all(8),
this.borderRadius = 32,
this.backgroundColor = Colors.transparent,
this.elevation = 0.0,
this.borderSide,
this.badge,
}) : super(key: key);