JJDialogContainer constructor

JJDialogContainer({
  1. Key? key,
  2. JJDialogType type = JJDialogType.list,
  3. double? height,
  4. double? width,
  5. BoxConstraints? constraints,
  6. BoxDecoration? decoration,
  7. EdgeInsetsGeometry? padding,
  8. EdgeInsetsGeometry? margin,
  9. AlignmentGeometry? alignment,
  10. Clip clipBehavior = Clip.none,
  11. bool isTapDismiss = true,
  12. PreferredSizeWidget? appBar,
  13. JJDialog? child,
  14. JJEmptyWidget? empty,
  15. Widget? custom,
})

Implementation

JJDialogContainer({
  Key? key,

  ///自定义widget,请指定为custom,否则不会使用custom, 也可以使用已实现的child
  this.type = JJDialogType.list,
  // this.height = 300,
  // this.width = double.infinity,
  this.height,
  this.width,
  this.constraints,
  this.decoration,
  this.padding,
  this.margin,
  this.alignment,
  this.clipBehavior = Clip.none,
  this.isTapDismiss = true,

  ///tabbar
  this.appBar,

  ///child
  this.child,
  this.empty,
  this.custom,
}) : super(key: key);