Radii constructor
const
Radii({
- required int topLeft,
- int? topRight,
- int? bottomRight,
- int? bottomLeft,
- 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',
);