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. double borderRadius = 22,
  8. Color? color,
  9. Color? disableColor,
  10. required VoidCallback? onPressed,
})

Implementation

const BaseBackgroundButton(
    {Key? key,
    this.width = double.infinity,
    this.height = 44,
    this.padding = EdgeInsets.zero,
    this.icon,
    this.title,
    this.borderRadius = 22,
    this.color,
    this.disableColor,
    required this.onPressed})
    : super(key: key);