MoonButton constructor

const MoonButton({
  1. Key? key,
  2. required String label,
  3. VoidCallback? onPressed,
  4. bool outline = false,
  5. bool isLoading = false,
  6. bool isDisabled = false,
  7. 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),
});