SliverSpace.extraSmall constructor

const SliverSpace.extraSmall({
  1. double? crossAxisExtent,
  2. Color? color,
})

Creates a widget that takes an extraSmall 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 SliverSpace.extraSmall({
  this.crossAxisExtent,
  this.color,
})  : size = SpaceSize.extraSmall,
      mainAxisExtent = null;