custom static method

TButtonShape custom(
  1. double radius
)

Custom rounded rectangle with defined radius.

Implementation

static TButtonShape custom(double radius) =>
    TButtonShape(border: RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(radius))));