NextLoadingHelper constructor
const
NextLoadingHelper({
- Key? key,
- required bool isLoading,
- bool ignoreWhileLoading = true,
- AnimatedSwitcherTransitionBuilder transitionBuilder = AnimatedSwitcher.defaultTransitionBuilder,
- required Widget child,
- AnimatedSwitcherLayoutBuilder layoutBuilder = AnimatedSwitcher.defaultLayoutBuilder,
- Curve switchOutCurve = Curves.linear,
- Curve switchInCurve = Curves.linear,
- Widget? loadingWidget,
- Duration duration = const Duration(milliseconds: 200),
- Duration? reverseDuration,
Implementation
const NextLoadingHelper(
{Key? key,
required this.isLoading,
this.ignoreWhileLoading = true,
this.transitionBuilder = AnimatedSwitcher.defaultTransitionBuilder,
required this.child,
this.layoutBuilder = AnimatedSwitcher.defaultLayoutBuilder,
this.switchOutCurve = Curves.linear,
this.switchInCurve = Curves.linear,
this.loadingWidget,
this.duration = const Duration(milliseconds: 200),
this.reverseDuration})
: super(key: key);