DialogView.load constructor

const DialogView.load({
  1. Key? key,
  2. Widget? child = const CircularProgressIndicator(),
  3. bool isShowTitle = false,
  4. bool isConfirm = false,
  5. bool isLoad = true,
  6. bool fullScreen = false,
  7. String? title,
  8. String? okHint,
  9. String? noHint,
  10. String? content = "加载中",
  11. TouchTap? onOk,
  12. TouchTap? onNo,
  13. bool expanded = false,
  14. Color? backgroundColor,
  15. num? confirmHeight,
  16. num? titleHeight,
  17. num? horizontal,
  18. num? vertical,
  19. num? minHeight,
  20. num? titleSize,
  21. num? textSize,
  22. num? loadWidth,
  23. num? loadTop,
  24. num? top,
  25. Curve insetAnimationCurve = Curves.decelerate,
  26. Duration insetAnimationDuration = const Duration(milliseconds: 100),
})

Implementation

const DialogView.load({
  Key? key,
  this.child = const CircularProgressIndicator(),
  this.isShowTitle = false,
  this.isConfirm = false,
  this.isLoad = true,
  this.fullScreen = false,
  this.title,
  this.okHint,
  this.noHint,
  this.content = "加载中",
  this.onOk,
  this.onNo,
  this.expanded = false,
  this.backgroundColor,
  this.confirmHeight,
  this.titleHeight,
  this.horizontal,
  this.vertical,
  this.minHeight,
  this.titleSize,
  this.textSize,
  this.loadWidth,
  this.loadTop,
  this.top,
  this.insetAnimationCurve = Curves.decelerate,
  this.insetAnimationDuration = const Duration(milliseconds: 100),
}) : super(key: key);