BdButton constructor

const BdButton({
  1. Key? key,
  2. required Widget child,
  3. required Function onTap,
  4. Color? backgroundColor,
  5. EdgeInsetsGeometry? padding,
  6. EdgeInsetsGeometry? margin,
  7. double? width,
  8. double? height,
  9. double? radius,
  10. List<BoxShadow>? boxShadow,
})

Implementation

const BdButton({
  Key? key,
  required this.child,
  required this.onTap,
  this.backgroundColor,
  this.padding,
  this.margin,
  this.width,
  this.height,
  this.radius,
  this.boxShadow,
}) : super(key: key);