Radii constructor

const Radii({
  1. required int topLeft,
  2. int? topRight,
  3. int? bottomRight,
  4. int? bottomLeft,
  5. MeasureUnits units = MeasureUnits.Pixel,
})

Implementation

const Radii({
  required this.topLeft,
  this.topRight,
  this.bottomRight,
  this.bottomLeft,
  this.units = MeasureUnits.Pixel,
}) : assert(
        bottomLeft != null ? bottomRight != null : true,
        '"bottomRight" should be specified if "bottomLeft" is present',
      );