Enable view focus (flutter/engine#54966)
Enable view focus https://github.com/flutter/flutter/issues/153022 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
parent
504bff9b26
commit
69da421d98
@ -12,11 +12,11 @@ final class ViewFocusBinding {
|
|||||||
ViewFocusBinding(this._viewManager, this._onViewFocusChange);
|
ViewFocusBinding(this._viewManager, this._onViewFocusChange);
|
||||||
|
|
||||||
|
|
||||||
/// Wether [FlutterView] focus changes will be reported and performed.
|
/// Whether [FlutterView] focus changes will be reported and performed.
|
||||||
///
|
///
|
||||||
/// DO NOT rely on this bit as it will go away soon. You're warned :)!
|
/// DO NOT rely on this bit as it will go away soon. You're warned :)!
|
||||||
@visibleForTesting
|
@visibleForTesting
|
||||||
static bool isEnabled = false;
|
static bool isEnabled = true;
|
||||||
|
|
||||||
final FlutterViewManager _viewManager;
|
final FlutterViewManager _viewManager;
|
||||||
final ui.ViewFocusChangeCallback _onViewFocusChange;
|
final ui.ViewFocusChangeCallback _onViewFocusChange;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user