BaseButton constructor
const
BaseButton({
- Key? key,
- required String text,
- VoidCallback? onTap,
- ButtonStyle? buttonStyle,
- TextStyle? buttonTextStyle,
- bool? isDisabled,
- double? height,
- double? width,
- EdgeInsets? margin,
- 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,
);