custom static method

TButtonShape custom(
  1. double radius, {
  2. bool vertical = false,
})

Custom rounded rectangle with defined radius.

Implementation

static TButtonShape custom(double radius, {bool vertical = false}) =>
    TButtonShape(border: RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(radius))), vertical: vertical);