setTextAreaHeight method

void setTextAreaHeight(
  1. double h
)

Implementation

void setTextAreaHeight(double h) {
  final clamped = h.clamp(_kTextAreaMinHeight, _kTextAreaMaxHeight);
  if (_textAreaHeight != clamped) {
    setState(() => _textAreaHeight = clamped);
  }
}