selectAllOnFocus property

bool selectAllOnFocus
final

Whether this field should select all text when gaining focus.

When false, focusing this text field will leave its existing text selection unchanged.

Defaults to true on web and desktop platforms, and false on mobile platforms.

Implementation

final bool selectAllOnFocus;