RCKExtensionMenuConfig constructor

const RCKExtensionMenuConfig({
  1. List<RCKExtensionMenuItemConfig>? items,
  2. int itemsPerPage = 8,
  3. int crossAxisCount = 4,
  4. Color? backgroundColor,
  5. double mainAxisSpacing = kInputExtentionItemSpaceV,
  6. double crossAxisSpacing = kInputExtentionItemSpaceH,
  7. EdgeInsets padding = const EdgeInsets.only(top: kInputExtentionPanelPaddingTop, left: kInputExtentionPanelPaddingH, right: kInputExtentionPanelPaddingH, bottom: kInputExtentionPanelPaddingBottom),
  8. Color indicatorSelectedColor = const Color(0xFF999999),
  9. Color indicatorUnselectedColor = const Color(0xFFD8D8D8),
  10. double height = kInputExtentionHeight,
})

Implementation

const RCKExtensionMenuConfig({
  List<RCKExtensionMenuItemConfig>? items,
  this.itemsPerPage = 8,
  this.crossAxisCount = 4,
  this.backgroundColor,
  this.mainAxisSpacing = kInputExtentionItemSpaceV,
  this.crossAxisSpacing = kInputExtentionItemSpaceH,
  this.padding = const EdgeInsets.only(
      top: kInputExtentionPanelPaddingTop,
      left: kInputExtentionPanelPaddingH,
      right: kInputExtentionPanelPaddingH,
      bottom: kInputExtentionPanelPaddingBottom),
  this.indicatorSelectedColor = const Color(0xFF999999),
  this.indicatorUnselectedColor = const Color(0xFFD8D8D8),
  this.height = kInputExtentionHeight,
}) : items = items ?? const [];