inputRadius property

double get inputRadius

Input corner radius: "Input Style" when set, else the button shape.

Implementation

double get inputRadius {
  final shape = _t.inputShape;
  if (shape == null) return buttonShape.radius.clamp(4, 24).toDouble();
  return shape == AuthyoButtonShape.pill
      ? 24
      : shape.radius.clamp(4, 24).toDouble();
}