GridSpecification.fromOffsets({List<double> columnOffsets, List<double> rowOffsets, double columnSpacing: 0.0, double rowSpacing: 0.0, EdgeInsets padding: EdgeInsets.zero })

Creates a grid specification from an explicit list of offsets.

Source

GridSpecification.fromOffsets({
  this.columnOffsets,
  this.rowOffsets,
  this.columnSpacing: 0.0,
  this.rowSpacing: 0.0,
  this.padding: EdgeInsets.zero
}) {
  assert(_debugIsMonotonic(columnOffsets));
  assert(_debugIsMonotonic(rowOffsets));
  assert(columnSpacing != null && columnSpacing >= 0.0);
  assert(rowSpacing != null && rowSpacing >= 0.0);
  assert(padding != null && padding.isNonNegative);
}