ProgressWidget constructor
const
ProgressWidget({
- Key? key,
- bool showProgress = false,
- String? message,
- void onListen()?,
- VoidCallback? onDispose,
- Widget builder()?,
- LoadingStyle? style,
Implementation
const ProgressWidget({
Key? key,
this.showProgress = false,
this.message,
this.onListen,
this.onDispose,
this.builder,
this.style,
}) : assert(
!showProgress || (showProgress && onListen != null),
'Must provide a Listener when showProgress',
),
super(key: key);