CustomIconButton constructor
const
CustomIconButton({
- Key? key,
- required Widget icon,
- required VoidCallback onTap,
- EdgeInsets margin = const EdgeInsets.all(0.0),
- EdgeInsets padding = const EdgeInsets.all(8.0),
Implementation
const CustomIconButton({
super.key,
required this.icon,
required this.onTap,
this.margin = const EdgeInsets.all(0.0),
this.padding = const EdgeInsets.all(8.0),
});