ProgressButton constructor

const ProgressButton({
  1. Key? key,
  2. Widget? icon,
  3. required Future onPressed()?,
  4. required Widget child,
  5. double? gap,
  6. ButtonStyle? style,
  7. ProgressButtonType type = ProgressButtonType.outlined,
  8. ProgressButtonLoadingType loadingType = ProgressButtonLoadingType.showInside,
  9. Widget? loadingWidget,
})

Implementation

const ProgressButton({
  Key? key,
  this.icon,
  required this.onPressed,
  required this.child,
  this.gap,
  this.style,
  this.type = ProgressButtonType.outlined,
  this.loadingType = ProgressButtonLoadingType.showInside,
  this.loadingWidget,
}) : super(key: key);