JJDialogContainer constructor
JJDialogContainer({
- Key? key,
- JJDialogType type = JJDialogType.list,
- double? height,
- double? width,
- BoxConstraints? constraints,
- BoxDecoration? decoration,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- AlignmentGeometry? alignment,
- Clip clipBehavior = Clip.none,
- bool isTapDismiss = true,
- PreferredSizeWidget? appBar,
- JJDialog? child,
- JJEmptyWidget? empty,
- 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);