SharedButton constructor

SharedButton({
  1. required VoidCallback onPressed,
  2. Color? buttonColor,
  3. Color? borderColor,
  4. double? borderWidth,
  5. double? elevation,
  6. double? borderRadius,
  7. EdgeInsets? padding,
  8. required Widget child,
  9. double? width,
  10. 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,
});