Added imports in the code snippet for android emulator key interceptor to work.
i know it maybe a small thing, but a lot of flutter developers are not familiar with native android / ios parts, so having this will help beginners copy imports in their MainActivity.kt it can build without issues when keyboard intercept method is added.
Type of Change
[ ] โจ New feature (non-breaking change which adds functionality)
[ ] ๐ ๏ธ Bug fix (non-breaking change which fixes an issue)
[ ] โ Breaking change (fix or feature that would cause existing functionality to change)
add imports from KeyEvent and ShakeGesturePlugin
Description
Added imports in the code snippet for android emulator key interceptor to work.
i know it maybe a small thing, but a lot of flutter developers are not familiar with native android / ios parts, so having this will help beginners copy imports in their MainActivity.kt it can build without issues when keyboard intercept method is added.
Type of Change