NpmPrimaryButton constructor

const NpmPrimaryButton({
  1. Key? key,
  2. String label = "Get Started",
  3. VoidCallback? onPressed,
  4. Widget? iconRight,
  5. bool loading = false,
  6. bool disabled = false,
  7. String? testId,
  8. bool centered = false,
})

Implementation

const NpmPrimaryButton({
  Key? key,
  this.label = "Get Started",
  this.onPressed,
  this.iconRight,
  this.loading = false,
  this.disabled = false,
  this.testId,
  this.centered = false,
}) : super(key: key);