Button constructor

const Button({
  1. Key? key,
  2. EdgeInsets? margin,
  3. required Component child,
  4. EdgeInsets? padding,
  5. Unit? height,
  6. Unit? width,
  7. Styles? style,
  8. BorderRadius? borderRadius,
  9. Border? border,
  10. Color? color,
  11. Color? textColor,
  12. BoxShadow? shadow,
  13. required VoidCallback? onTap,
})

Implementation

const Button(
    {super.key,
    this.margin,
    required this.child,
    this.padding,
    this.height,
    this.width,
    this.style,
    this.borderRadius,
    this.border,
    this.color,
    this.textColor,
    this.shadow,
    required this.onTap});