AtomButton constructor
const
AtomButton({
- Key? key,
- required String label,
- VoidCallback? onPressed,
- Color? color,
- double borderRadius = 16,
- double elevation = 2,
- TextStyle? textStyle,
- Color? textColor,
- EdgeInsetsGeometry? padding,
- AtomButtonType type = AtomButtonType.primary,
Implementation
const AtomButton({
super.key,
required this.label,
this.onPressed,
this.color,
this.borderRadius = 16,
this.elevation = 2,
this.textStyle,
this.textColor,
this.padding,
this.type = AtomButtonType.primary,
});