PrimaryButton constructor
const
PrimaryButton({
- Key? key,
- String label = 'Get Started',
- VoidCallback? onPressed,
- Widget? iconRight,
- bool loading = false,
- bool disabled = false,
- String? testId,
- EdgeInsets? padding,
- double? width,
- double height = 48.0,
Implementation
const PrimaryButton({
Key? key,
this.label = 'Get Started',
this.onPressed,
this.iconRight,
this.loading = false,
this.disabled = false,
this.testId,
this.padding,
this.width,
this.height = 48.0,
}) : super(key: key);