BasePopupWidget constructor
const
BasePopupWidget({
- Key? key,
- double? height,
- double? leftMargin,
- String? title,
- void onTapClose()?,
- required Widget customViewBuilder(
- BuildContext bContext
- Widget bottomButtonBuilder(
- BuildContext bContext
Implementation
const BasePopupWidget({
Key? key,
this.height,
this.leftMargin,
this.title,
this.onTapClose,
required this.customViewBuilder, // 由 Expanded 包裹,如果高度不够,会自动被拉伸
this.bottomButtonBuilder,
}) : super(key: key);