FocusOptions constructor

FocusOptions({
  1. bool? preventScroll,
  2. bool? focusVisible,
})

Implementation

factory FocusOptions({bool? preventScroll, bool? focusVisible}) =>
    FocusOptions._(
        preventScroll: preventScroll ?? false,
        focusVisible: focusVisible ?? undefined);