BaseBackgroundButton constructor

const BaseBackgroundButton({
  1. Key? key,
  2. double width = double.infinity,
  3. double height = 44,
  4. EdgeInsetsGeometry padding = EdgeInsets.zero,
  5. Widget? icon,
  6. Widget? title,
  7. BorderRadiusGeometry borderRadius = const BorderRadius.all(Radius.circular(32)),
  8. Border? border,
  9. Color? color,
  10. Color? pressedColor,
  11. Color? disableColor,
  12. VoidCallback? onPressed,
  13. VoidCallback? onLongPress,
})

Implementation

const BaseBackgroundButton({
  super.key,
  this.width = double.infinity,
  this.height = 44,
  this.padding = EdgeInsets.zero,
  this.icon,
  this.title,
  this.borderRadius = const BorderRadius.all(Radius.circular(32)),
  this.border,
  this.color,
  this.pressedColor,
  this.disableColor,
  this.onPressed,
  this.onLongPress,
});