Skip to content

Commit

Permalink
IME press tab, keyboard SHIFT+ALT+UP, SHIFT+ALT+DOWN, and defaultTarg…
Browse files Browse the repository at this point in the history
…etPlatform configuration of key press platform value (Resolves #8)(Resolves #9)(Resolves #12) (#13)
  • Loading branch information
matthew-carroll committed Sep 3, 2023
1 parent c9c5b3b commit 4a25ce9
Show file tree
Hide file tree
Showing 2 changed files with 270 additions and 219 deletions.
8 changes: 8 additions & 0 deletions lib/src/input_method_engine.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ class ImeSimulator {
await _tester.pumpAndSettle();
}

/// Simulates the user pressing the tab button on a software keyboard.
Future<void> pressTab({
Finder? finder,
GetDeltaTextInputClient? getter,
}) async {
await typeText('\t');
}

/// Simulates the user pressing the backspace button.
///
/// If the selection is collapsed, the upstream character is deleted. If the selection is expanded, then
Expand Down
Loading

0 comments on commit 4a25ce9

Please sign in to comment.