Soft Keyboard
A customizable soft keyboard to use instead of the built-in non-customizable keyboard of any phone.
(This package is still in development)
Features
- Customize the background color
- Choose the colors of the keys
- Provide IconData for action keys
- Style the keyboard text as per your preference
- Adjust the keyboard height
- Choose between Alphanumeric or Numeric keyboard
Getting started
In your Flutter project add the dependency:
dependencies:
soft_keyboard: any
Import the package:
import 'package:soft_keyboard/soft_keyboard.dart';
Usage
AlphanumericKeyboard(
controller: _controller,
onEnterTapped: () {
log("hide keyboard");
},
height: 260,
backgroundColor: Colors.black,
actionKeyColor: Colors.blueGrey,
alphanumericKeyColor: Colors.indigo,
backspaceKeyIcon: Icons.backspace,
enterKeyIcon: Icons.keyboard_return,
),
NumericKeyboard(
controller: _controller,
onEnterTapped: () {
log("hide keyboard");
},
backgroundColor: Colors.black,
actionKeyColor: Colors.blueGrey,
backspaceKeyIcon: Icons.backspace,
enterKeyIcon: Icons.keyboard_return,
),
Check the example project for a full example.
Download source code on GitHub
Provides the list of the opensource Flutter apps collection with GitHub repository.