UIBlockModal<T> constructor
UIBlockModal<T> ({
- ChildBuilder? childBuilder,
- Widget? customLoaderChild,
- Widget? loadingTextWidget,
- Color? backgroundColor,
- bool? canDissmissOnBack,
- bool? left,
- bool? top,
- bool? right,
- bool? bottom,
- EdgeInsets? minimum,
- bool? maintainBottomViewPadding,
- BuildBlockModalTransitions? buildBlockModalTransitions,
- bool? isSlideTransitionDefault,
- ImageFilter? imageFilter,
Implementation
UIBlockModal({
this.childBuilder,
this.customLoaderChild,
this.loadingTextWidget,
this.backgroundColor,
this.canDissmissOnBack,
this.left,
this.top,
this.right,
this.bottom,
this.minimum,
this.maintainBottomViewPadding,
this.buildBlockModalTransitions,
this.isSlideTransitionDefault,
ImageFilter? imageFilter,
}) : super(filter: imageFilter) {
customLoaderChild ??= UIBlockDefaultLoader();
loadingTextWidget ??= Container();
childBuilder ??= _buildLoader;
backgroundColor ??= Colors.transparent;
canDissmissOnBack ??= false;
left ??= true;
top ??= true;
right ??= true;
bottom ??= true;
minimum ??= EdgeInsets.zero;
maintainBottomViewPadding ??= false;
isSlideTransitionDefault ??= true;
}