IconsButton constructor

IconsButton({
  1. required Function onPressed,
  2. required String text,
  3. ShapeBorder shape = btnShape,
  4. EdgeInsets padding = const EdgeInsets.all(4),
  5. Color? color,
  6. IconData? iconData,
  7. Color? iconColor,
  8. TextStyle? textStyle,
})

Implementation

IconsButton({
  required this.onPressed,
  required this.text,
  this.shape = btnShape,
  this.padding = const EdgeInsets.all(4),
  this.color,
  this.iconData,
  this.iconColor,
  this.textStyle,
});