OptionGridPanelWidget constructor

const OptionGridPanelWidget({
  1. Key? key,
  2. required List<ItemOption> items,
  3. required double itemWidth,
  4. required double itemHeight,
  5. Color? backgroundColor,
  6. EdgeInsetsGeometry? padding,
  7. int? crossAxisCount,
  8. double? crossAxisSpacing,
  9. double? mainAxisSpacing,
  10. TextStyle textStyle = const TextStyle(color: Colors.white, fontSize: 12),
  11. EdgeInsetsGeometry textPadding = EdgeInsets.zero,
  12. OnItemOptionClickCall? optionClickCall,
})

Implementation

const OptionGridPanelWidget(
    {Key? key,
    required this.items,
    required this.itemWidth,
    required this.itemHeight,
    this.backgroundColor,
    this.padding,
    this.crossAxisCount,
    this.crossAxisSpacing,
    this.mainAxisSpacing,
    this.textStyle = const TextStyle(color: Colors.white, fontSize: 12),
    this.textPadding = EdgeInsets.zero,
    this.optionClickCall})
    : super(key: key);