SharedButton constructor
SharedButton({
- required VoidCallback onPressed,
- Color? buttonColor,
- Color? borderColor,
- double? borderWidth,
- double? elevation,
- double? borderRadius,
- EdgeInsets? padding,
- required Widget child,
- double? width,
- double? height,
Implementation
SharedButton({
required this.onPressed,
this.buttonColor,
this.borderColor,
this.borderWidth,
this.elevation,
this.borderRadius,
this.padding,
required this.child,
this.width,
this.height,
});