OudsNavigationButton constructor

const OudsNavigationButton({
  1. Key? key,
  2. String? label,
  3. VoidCallback? onPressed,
  4. required OudsNavigationButtonLayout layout,
  5. required OudsNavigationButtonAppearance appearance,
  6. String? package,
  7. Loader? loader,
  8. bool? isLoading = false,
  9. bool? isFullWidth,
  10. String? semanticsLabel,
  11. OudsButtonSize size = OudsButtonSize.defaultSize,
})

Implementation

const OudsNavigationButton({
  super.key,
  this.label,
  this.onPressed,
  required this.layout,
  required this.appearance,
  this.package,
  this.loader,
  this.isLoading = false,
  this.isFullWidth,
  this.semanticsLabel,
  this.size = OudsButtonSize.defaultSize,
});