PumaButton constructor
const
PumaButton({
- Key? key,
- Widget? child,
- PumaButtonVariant variant = PumaButtonVariant.plain,
- bool? disabled = false,
- bool? loading = false,
- double radius = 20,
- Color? backgroundColor,
- Color? borderColor,
- PumaDensity density = PumaDensity.md,
- AlignmentDirectional loadingAlignment = AlignmentDirectional.center,
- void onPressed()?,
Implementation
const PumaButton({
Key? key,
this.child,
this.variant = PumaButtonVariant.plain,
this.disabled = false,
this.loading = false,
this.radius = 20,
this.backgroundColor,
this.borderColor,
this.density = PumaDensity.md,
this.loadingAlignment = AlignmentDirectional.center,
this.onPressed,
}) : super(key: key);