OptionGridPanelWidget constructor
const
OptionGridPanelWidget({
- Key? key,
- required List<
ItemOption> items, - required double itemWidth,
- required double itemHeight,
- Color? backgroundColor,
- EdgeInsetsGeometry? padding,
- int? crossAxisCount,
- double? crossAxisSpacing,
- double? mainAxisSpacing,
- TextStyle textStyle = const TextStyle(color: Colors.white, fontSize: 12),
- EdgeInsetsGeometry textPadding = EdgeInsets.zero,
- 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);