MenuListPopupWidget constructor

MenuListPopupWidget({
  1. Key? key,
  2. required List<MenuItem> menuList,
  3. required Widget bodyWidget,
  4. String? headerImageUrl,
  5. double? headerImageWidth,
  6. double? headerImageRatio,
  7. Color? color,
  8. Color? txtColor,
  9. Color? leadingBKColor,
  10. Color? leadingColor,
  11. Color? initLeadingBKColor,
  12. Color? initLeadingColor,
  13. Color? dividerColor,
  14. Color? appBarBgColor,
  15. bool? isSecondLevelBold,
  16. BoxFit? headerImageFit,
  17. MenuItemClick? menuItemClick,
})

Implementation

MenuListPopupWidget(
    {Key? key,
    required this.menuList,
    required this.bodyWidget,
    this.headerImageUrl,
    this.headerImageWidth,
    this.headerImageRatio,
    this.color,
    this.txtColor,
    this.leadingBKColor,
    this.leadingColor,
    this.initLeadingBKColor,
    this.initLeadingColor,
    this.dividerColor,
    this.appBarBgColor,
    this.isSecondLevelBold,
    this.headerImageFit,
    this.menuItemClick})
    : super(key: key);