DirectionalFocusIntent constructor Null safety

const DirectionalFocusIntent(
  1. TraversalDirection direction,
  2. {bool ignoreTextFields = true}
)

Creates an intent used to move the focus in the given direction.

Implementation

const DirectionalFocusIntent(this.direction, {this.ignoreTextFields = true})
    : assert(ignoreTextFields != null);