SuraIconButton.action constructor

const SuraIconButton.action({
  1. Key? key,
  2. required VoidCallback? onTap,
  3. required Widget icon,
  4. EdgeInsets margin = const EdgeInsets.all(8),
  5. EdgeInsets padding = const EdgeInsets.all(8),
  6. double borderRadius = 32,
  7. Color backgroundColor = Colors.transparent,
  8. double elevation = 0.0,
  9. BorderSide? borderSide,
  10. 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);