MoonButton constructor
const
MoonButton({
- Key? key,
- required String label,
- VoidCallback? onPressed,
- bool outline = false,
- bool isLoading = false,
- bool isDisabled = false,
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 20, vertical: 12),
Implementation
const MoonButton({
super.key,
required this.label,
this.onPressed,
this.outline = false,
this.isLoading = false,
this.isDisabled = false,
this.padding = const EdgeInsets.symmetric(horizontal: 20, vertical: 12),
});