radiusOnly method

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

Implementation

XuBoxDecoration radiusOnly({
  double topLeft = 0.0,
  double topRight = 0.0,
  double bottomLeft = 0.0,
  double bottomRight = 0.0,
}) =>
    this
      .._borderRadius = BorderRadius.only(
          bottomLeft: Radius.circular(bottomLeft),
          bottomRight: Radius.circular(bottomRight),
          topLeft: Radius.circular(topLeft),
          topRight: Radius.circular(topRight));