Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 0344c10

Browse files
committed
fixed formating
1 parent 019f77c commit 0344c10

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/web_ui/lib/src/engine/text_editing.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ void _setStaticStyleAttributes(html.HtmlElement domElement) {
4545
enum _InputAction {
4646
/// Procced to next enput element.
4747
next,
48+
4849
/// Newline has been entered in current input element.
4950
newline,
5051
}
@@ -410,9 +411,9 @@ class TextEditingElement {
410411
if (event.which == 9) {
411412
_onAction(_InputAction.next);
412413
// The default action of the browser is to focus the next element.
413-
// As the browser is not able to focus flutter widgets, it will
414+
// As the browser is not able to focus flutter widgets, it will
414415
// focus some part of its UI (e.g. the location bar).
415-
// We prevent this action and leave it to the corresponding widget
416+
// We prevent this action and leave it to the corresponding widget
416417
// to change the focus.
417418
event.preventDefault();
418419
}
@@ -747,7 +748,7 @@ class HybridTextEditing {
747748
}
748749

749750
_InputActionToFlutter(_InputAction inputAction) {
750-
switch(inputAction) {
751+
switch (inputAction) {
751752
case _InputAction.next:
752753
return 'TextInputAction.next';
753754
break;

0 commit comments

Comments
 (0)