QudsPopupMenuSection constructor

QudsPopupMenuSection({
  1. required String titleText,
  2. required List<QudsPopupMenuBase> subItems,
  3. Widget? subTitle,
  4. Widget? leading,
  5. Color? backgroundColor,
})

Creates an instance of QudsPopupMenuSection

Implementation

QudsPopupMenuSection({
  required this.titleText,
  required this.subItems,
  this.subTitle,
  this.leading,
  this.backgroundColor,
}) : assert(subItems.isNotEmpty);