BaseButton constructor

const BaseButton({
  1. Key? key,
  2. required Function onPressed,
  3. double? height,
  4. Color? bgColor,
  5. BorderRadiusGeometry? borderRadius,
  6. BorderSide borderSide = BorderSide.none,
  7. required Widget child,
  8. Color? splashColor,
})

Implementation

const BaseButton({
  Key? key,
  required this.onPressed,
  this.height,
  this.bgColor,
  this.borderRadius,
  this.borderSide = BorderSide.none,
  required this.child,
  this.splashColor,
}) : super(key: key);