CustomButton constructor
CustomButton(
- String? title, {
- required VoidCallback? onPressed,
- double? height,
- EdgeInsets? padding,
- double? elevation,
- double? borderRadius,
- Color? bgcolor,
- Color? shadowColor,
- BorderSide? borderSide,
- TextStyle? style,
- Widget? icon,
- 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});