BaseButton constructor

const BaseButton({
  1. Key? key,
  2. required String text,
  3. VoidCallback? onTap,
  4. ButtonStyle? buttonStyle,
  5. TextStyle? buttonTextStyle,
  6. bool? isDisabled,
  7. double? height,
  8. double? width,
  9. EdgeInsets? margin,
  10. Alignment? alignment,
})

Implementation

const BaseButton({
  Key? key,
  required this.text,
  this.onTap,
  this.buttonStyle,
  this.buttonTextStyle,
  this.isDisabled,
  this.height,
  this.width,
  this.margin,
  this.alignment,
}) : super(
        key: key,
      );