BaseButton constructor

const BaseButton({
  1. Key? key,
  2. required Widget child,
  3. required BaseButtonSize size,
  4. VoidCallback? onTap,
  5. ButtonStyle? buttonStyle,
  6. WidgetStateProperty<EdgeInsetsGeometry?>? overridePadding,
})

Implementation

const BaseButton({
  super.key,
  required this.child,
  required this.size,
  this.onTap,
  this.buttonStyle,
  this.overridePadding,
});