widgetHeight method

  1. @override
double widgetHeight(
  1. BuildContext context
)
override

Implementation

@override
double widgetHeight(BuildContext context) {
  return math.max(
        MediaQuery.textScalerOf(context).scale(17.0),
        suffix is Icon || prefix is Icon ? 20.0 : 0.0,
      ) +
      _padding.vertical;
}