DisplayCornerRadii constructor

const DisplayCornerRadii({
  1. required double topLeft,
  2. required double topRight,
  3. required double bottomRight,
  4. required double bottomLeft,
})

Creates a DisplayCornerRadii.

Implementation

const DisplayCornerRadii({
  required this.topLeft,
  required this.topRight,
  required this.bottomRight,
  required this.bottomLeft,
}) : assert(topLeft >= 0),
     assert(topRight >= 0),
     assert(bottomRight >= 0),
     assert(bottomLeft >= 0);