UIBlockModal<T> constructor

UIBlockModal<T>({
  1. ChildBuilder? childBuilder,
  2. Widget? customLoaderChild,
  3. Widget? loadingTextWidget,
  4. Color? backgroundColor,
  5. bool? canDissmissOnBack,
  6. bool? left,
  7. bool? top,
  8. bool? right,
  9. bool? bottom,
  10. EdgeInsets? minimum,
  11. bool? maintainBottomViewPadding,
  12. BuildBlockModalTransitions? buildBlockModalTransitions,
  13. bool? isSlideTransitionDefault,
  14. 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;
}