FdcGridSpacer constructor

FdcGridSpacer({
  1. String? id,
  2. bool visible = true,
  3. FdcGridItemPlacement placement = FdcGridItemPlacement.end,
  4. double width = 12,
})

Creates a FdcGridSpacer.

Implementation

FdcGridSpacer({super.id, super.visible, super.placement, this.width = 12}) {
  if (!width.isFinite || width < 0) {
    throw RangeError.value(
      width,
      'width',
      'Must be a finite value greater than or equal to zero.',
    );
  }
}