isFocused property
final
Whether the input field has focus.
Determines the position of the label text and the color and weight of the border.
Defaults to false.
See also:
- InputDecoration.hoverColor, which is also blended into the focus color and fill color when the isHovering is true to produce the final color.
Implementation
final bool isFocused;