ProgressButton constructor
const
ProgressButton({
- Key? key,
- Widget? icon,
- required Future onPressed()?,
- required Widget child,
- double? gap,
- ButtonStyle? style,
- ProgressButtonType type = ProgressButtonType.outlined,
- ProgressButtonLoadingType loadingType = ProgressButtonLoadingType.showInside,
- 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);