I'm looking to build a custom keyboard that works with all apps. Custom keyboards are now commonplace. I'm wondering if you are able to build a keyboard in Flutter that would work and be accepted by Apple to work inside other apps.
Sorry, there is no way to do that in Flutter. Flutter is a UI-framework and doesn't extend to OS level changes like the system keyboard. But you can do it natively for Android with Kotlin or Java (iOS not included -- the system does not support OS model's change).
I don't think you can build a system-wide keyboard in Flutter since it is a UI framework. I believe you can build one with the respected operating system's development language (Java for Android, Koltin as well - Swift for iOS devices) as it requires certain permissions to actually function as a system-wide keyboard.
You could use Flutter to build the UI itself, but not the whole keyboard. The rest of the keyboard will need to be either Java or Koltin for Android or Swift for iOS.
Lastly, if you just want a keyboard inside your application, you could build it with Flutter and use your app's language to control the input.
If you want to make a global keyboard, I recommend this guide: https://www.androidauthority.com/lets-build-custom-keyboard-android-832362/
If you want to use Flutter for the UI, I would replace the parts of this guide that utilize it's UI and replace it with Flutter.
I wish you luck in your adventures and if you do make a good keyboard, please give me a download link because GBoard is driving me crazy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With