topLeftSharpRadius property

BorderRadius get topLeftSharpRadius

Top-left corner border radius.

Example:

Container(
  child: Text("Hello Flutter"),
  decoration: BoxDecoration(
    borderRadius: 8.topLeftSharpRadius, // Makes top-left corner (8px) rounded.
  ),
),

Implementation

BorderRadius get topLeftSharpRadius => SharpBorderRadius.only(
    topLeft:
        SharpRadius(cornerRadius: (this ?? 0).toDouble(), sharpRatio: 1));