PopupWindow constructor
PopupWindow(
- BuildContext context, {
- Key? key,
- String? text,
- required GlobalKey<
State< popKey,StatefulWidget> > - double arrowHeight = 6.0,
- TextStyle? textStyle,
- Color? backgroundColor,
- bool isShowCloseIcon = false,
- double offset = 0,
- PopupDirection popDirection = PopupDirection.bottom,
- Widget? widget,
- EdgeInsets paddingInsets = const EdgeInsets.only(left: 18, top: 14, right: 18, bottom: 14),
- double borderRadius = 4,
- Color? borderColor,
- bool canWrap = false,
- double spaceMargin = 20,
- double? arrowOffset,
- double turnOverFromBottom = 50.0,
Implementation
PopupWindow(this.context,
{Key? key,
this.text,
required this.popKey,
this.arrowHeight = 6.0,
this.textStyle,
this.backgroundColor,
this.isShowCloseIcon = false,
this.offset = 0,
this.popDirection = PopupDirection.bottom,
this.widget,
this.paddingInsets =
const EdgeInsets.only(left: 18, top: 14, right: 18, bottom: 14),
this.borderRadius = 4,
this.borderColor,
this.canWrap = false,
this.spaceMargin = 20,
this.arrowOffset,
this.turnOverFromBottom = 50.0})
: super(key: key);