CustomButton constructor

CustomButton(
  1. String? title, {
  2. required VoidCallback? onPressed,
  3. double? height,
  4. EdgeInsets? padding,
  5. double? elevation,
  6. double? borderRadius,
  7. Color? bgcolor,
  8. Color? shadowColor,
  9. BorderSide? borderSide,
  10. TextStyle? style,
  11. Widget? icon,
  12. IconAlignment iconAlignment = IconAlignment.start,
})

Implementation

CustomButton(this.title,
    {required this.onPressed,
    this.height,
    this.padding,
    this.elevation,
    this.borderRadius,
    this.bgcolor,
    this.shadowColor,
    this.borderSide,
    this.style,
    this.icon,
    this.iconAlignment = IconAlignment.start});