Space.small constructor

const Space.small({
  1. double? crossAxisExtent,
  2. Color? color,
})

Creates a widget that takes a small amount of space in the direction of its parent.

The spacing value is defined in the global Spacing definition.

The crossAxisExtent must be either null or positive.

Implementation

const Space.small({
  this.crossAxisExtent,
  this.color,
})  : size = SpaceSize.small,
      mainAxisExtent = null;