RCKExtensionMenuConfig constructor
const
RCKExtensionMenuConfig({
- List<
RCKExtensionMenuItemConfig> ? items, - int itemsPerPage = 8,
- int crossAxisCount = 4,
- Color? backgroundColor,
- double mainAxisSpacing = kInputExtentionItemSpaceV,
- double crossAxisSpacing = kInputExtentionItemSpaceH,
- EdgeInsets padding = const EdgeInsets.only(top: kInputExtentionPanelPaddingTop, left: kInputExtentionPanelPaddingH, right: kInputExtentionPanelPaddingH, bottom: kInputExtentionPanelPaddingBottom),
- Color indicatorSelectedColor = const Color(0xFF999999),
- Color indicatorUnselectedColor = const Color(0xFFD8D8D8),
- 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 [];