diff --git a/lib/ui/platform_dispatcher.dart b/lib/ui/platform_dispatcher.dart index 250ea04d6aa74..48e63e1a86904 100644 --- a/lib/ui/platform_dispatcher.dart +++ b/lib/ui/platform_dispatcher.dart @@ -319,7 +319,7 @@ class PlatformDispatcher { /// /// Typically, receivers of this event respond by moving the focus to the first /// focusable widget inside the [FlutterView] with ID 2. If a view receives - /// focus in the backwards direction (could be the result of pressing shift + tab), + /// focus in the backward direction (could be the result of pressing shift + tab), /// typically the last focusable widget inside that view is focused. /// /// The platform may remove focus from a [FlutterView]. For example, on the web, @@ -2690,8 +2690,8 @@ enum ViewFocusDirection { /// This is typically result of the user pressing tab. forward, - /// Indicates the focus transition was performed in a backwards direction. + /// Indicates the focus transition was performed in a backward direction. /// /// This is typically result of the user pressing shift + tab. - backwards, + backward, } diff --git a/lib/web_ui/lib/platform_dispatcher.dart b/lib/web_ui/lib/platform_dispatcher.dart index cf9e15661446d..c557820969f16 100644 --- a/lib/web_ui/lib/platform_dispatcher.dart +++ b/lib/web_ui/lib/platform_dispatcher.dart @@ -587,5 +587,5 @@ enum ViewFocusState { enum ViewFocusDirection { undefined, forward, - backwards, + backward, }