SpannableGrid constructor

SpannableGrid({
  1. Key? key,
  2. required List<SpannableGridCellData> cells,
  3. required int columns,
  4. required int rows,
  5. SpannableGridEditingStrategy editingStrategy = const SpannableGridEditingStrategy(),
  6. SpannableGridStyle style = const SpannableGridStyle(),
  7. Widget? emptyCellView,
  8. SpannableGridSize gridSize = SpannableGridSize.parentWidth,
  9. dynamic onCellChanged(
    1. SpannableGridCellData?
    )?,
  10. bool showGrid = false,
})

Implementation

SpannableGrid({
  Key? key,
  required this.cells,
  required this.columns,
  required this.rows,
  this.editingStrategy = const SpannableGridEditingStrategy(),
  this.style = const SpannableGridStyle(),
  this.emptyCellView,
  this.gridSize = SpannableGridSize.parentWidth,
  this.onCellChanged,
  this.showGrid = false,
}) : super(key: key);