FocusManager constructor

FocusManager()

Creates an object that manages the focus tree.

This constructor is rarely called directly. To access the FocusManager, consider using WidgetsBinding.focusManager instead.

Implementation

FocusManager() {
  rootScope._manager = this;
  assert(rootScope._firstChild == null);
  assert(rootScope._lastChild == null);
}