EdgeRadius.only constructor

EdgeRadius.only({
  1. double topLeft = 0.0,
  2. double topRight = 0.0,
  3. double bottomLeft = 0.0,
  4. double bottomRight = 0.0,
})

Do that:

BorderRadius.only(
 topLeft: Radius.circular(topLeft),
 topRight: Radius.circular(topRight),
 bottomLeft: Radius.circular(bottomLeft),
 bottomRight: Radius.circular(bottomRight),
)

Implementation

EdgeRadius.only({
  double topLeft = 0.0,
  double topRight = 0.0,
  double bottomLeft = 0.0,
  double bottomRight = 0.0,
}) : super.only(
        topLeft: Radius.circular(topLeft),
        topRight: Radius.circular(topRight),
        bottomLeft: Radius.circular(bottomLeft),
        bottomRight: Radius.circular(bottomRight),
      );