CustomIconButton constructor

const CustomIconButton({
  1. Key? key,
  2. required Widget icon,
  3. required VoidCallback onTap,
  4. EdgeInsets margin = const EdgeInsets.all(0.0),
  5. 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),
});