PopupView constructor

const PopupView({
  1. Key? key,
  2. required GlobalKey<State<StatefulWidget>> originKey,
  3. required List<PopModel> itemsData,
  4. Color? bgColor,
  5. Color? itemTitleColor,
  6. Color? itemIconColor,
  7. String? selText = '',
  8. double? itemHeight,
  9. double? itemWidth,
  10. dynamic clickCallback(
    1. int,
    2. PopModel
    )?,
  11. Color? dividerColor,
  12. Color? itemSelectedColor,
  13. double? triangleHeight,
  14. double? triangleWidth,
  15. bool? noTriangle,
  16. 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);