Added pressSpaceAdaptive
(May, 2024)
Added support for undo/redo shortcuts (Feb, 2024)
pressCmdZ
pressCmdShiftZ
pressCtrlZ
pressCtrlShiftZ
Add support for pressing ENTER via IME (Oct, 2023)
pressEnterWithIme
- Simulate pressing the "newline" button on a software keyboard.pressEnterAdapative
- RunpressEnter()
and if it's not handled, runpressEnterWithIme()
.pressNumpadEnterWithIme
pressNumpadEnterAdaptive
Additions and adjustments to work around Flutter's test key simulation (September, 2023)
pressKey
,pressKeyDown
,releaseKeyUp
,repeatKey
wraps standard Flutter key simulations to prevent platform mismatches across key presses.- Don't use "ios" platform when simulating keyboard content typing because Flutter has a
bug with generating key events for characters, specifically when simulating
platform
"ios".
(DEPRECATED) Fixed a bug in keyboard key event platform overrides from version 0.0.19
(September, 2023)
(DEPRECATED) Keyboard and IME additions (September, 2023)
- CTRL + HOME/END
- CMD + HOME/END
- SHIFT + ALT + UP/DOWN
- Tab button through IME (i.e., software keyboard)
- All keyboard event now simulate with a platform as chosen by
defaultTargetPlatform
Added arbitrary delta from simulated IME (December, 2022)
Added simulated IME text input and backspace (August, 2022)
Add key combos (June, 2022)
- CMD + B
- CMD + I
Add key combos (June, 2022)
- ALT + UP ARROW
- ALT + DOWN ARROW
Changed simulated clipboard initialization (June, 2022)
- Changed
ClipboardInteractions
>simulateClipboard()
to clear the clipboard content, if a clipboard simulation is already active. This provides a consistent initial state across multiple tests.
Fixed simulated clipboard initialization (June, 2022)
- Bugfix -
ClipboardInteractions
previously didn'tinit()
the simulation when requested. Now it does.
Changed simulated clipboard API (June, 2022)
- BREAKING - Changed
ClipboardInteractions
extensions to return clipboard text synchronously.
Added SimulatedClipboard (June, 2022)
- Added SimulatedClipboard and WidgetTester extensions to easily verify expected Clipboard interactions.
Add HOME and END (June, 2022)
- HOME
- END
Fixed a bug (June, 2022)
- Fixed CTL + BACKSPACE, previous implementation was pressing CMD + CTL
Add key combos (June, 2022)
- CTL + BACKSPACE
- ALT + BACKSPACE
Add key combos (June, 2022)
- CTL + E
Add key combos (June, 2022)
- CMD + BACKSPACE
Add key combos (June, 2022)
- SHIFT + UP ARROW
- SHIFT + CMD + UP ARROW
- SHIFT + DOWN ARROW
- SHIFT + CMD + DOWN ARROW
Add key combos (June, 2022)
- ALT + LEFT ARROW
- CTL + LEFT ARROW
- SHIFT + CTL + LEFT ARROW
- CMD + LEFT ARROW
- SHIFT + CMD + LEFT ARROW
- ALT + RIGHT ARROW
- CTL + RIGHT ARROW
- SHIFT + CTL + RIGHT ARROW
- CMD + RIGHT ARROW
- SHIFT + CMD + RIGHT ARROW
Add key combos (June, 2022)
- CMD/CTL + A
Add key combos (June, 2022)
- CMD/CTL + C
- CMD/CTL + X
- CMD/CTL + V
Initial release (June, 2022)
Test APIs for:
- pressing specific keyboard keys
- typing arbitrary text with keyboard keys