Skip to content

Commit 4a25ce9

Browse files
IME press tab, keyboard SHIFT+ALT+UP, SHIFT+ALT+DOWN, and defaultTargetPlatform configuration of key press platform value (Resolves #8)(Resolves #9)(Resolves #12) (#13)
1 parent c9c5b3b commit 4a25ce9

File tree

2 files changed

+270
-219
lines changed

2 files changed

+270
-219
lines changed

lib/src/input_method_engine.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ class ImeSimulator {
9696
await _tester.pumpAndSettle();
9797
}
9898

99+
/// Simulates the user pressing the tab button on a software keyboard.
100+
Future<void> pressTab({
101+
Finder? finder,
102+
GetDeltaTextInputClient? getter,
103+
}) async {
104+
await typeText('\t');
105+
}
106+
99107
/// Simulates the user pressing the backspace button.
100108
///
101109
/// If the selection is collapsed, the upstream character is deleted. If the selection is expanded, then

0 commit comments

Comments
 (0)