custom static method

TButtonShape custom(
  1. double radius
)

Implementation

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