canRequestFocus property

bool canRequestFocus
final

Determine whether this text field can request the primary focus.

Defaults to true. If false, the text field will not request focus when tapped, or when its context menu is displayed. If false it will not be possible to move the focus to the text field with tab key.

Implementation

final bool canRequestFocus;