RSliverSizedBox.square constructor

const RSliverSizedBox.square(
  1. double dimension, {
  2. Key? key,
  3. Widget? child,
})

square space

Implementation

const RSliverSizedBox.square(
  double dimension, {
  super.key,
  this.child,
})  : height = dimension,
      width = dimension;