PopupView constructor
const
PopupView({
- Key? key,
- required GlobalKey<
State< originKey,StatefulWidget> > - required List<
PopModel> itemsData, - Color? bgColor,
- Color? itemTitleColor,
- Color? itemIconColor,
- String? selText = '',
- double? itemHeight,
- double? itemWidth,
- dynamic clickCallback()?,
- Color? dividerColor,
- Color? itemSelectedColor,
- double? triangleHeight,
- double? triangleWidth,
- bool? noTriangle,
- double? maxHeight,
Implementation
const PopupView({
Key? key,
required this.originKey,
required this.itemsData,
this.bgColor,
this.itemTitleColor,
this.itemIconColor,
this.selText = '',
this.itemHeight,
this.itemWidth,
this.clickCallback,
this.dividerColor,
this.itemSelectedColor,
this.triangleHeight,
this.triangleWidth,
this.noTriangle,
this.maxHeight,
}) : super(key: key);