autofocus property

bool autofocus
final

Requests focus as soon as this widget is first built — for a caller (e.g. a modal's first/most-important action) wanting keyboard/ gamepad focus to land here immediately, same reasoning FocusTrapScope's own autofocus param exists for.

Implementation

final bool autofocus;