ios_keyboard_action 0.0.4 ios_keyboard_action: ^0.0.4 copied to clipboard
This package adds an action button above the ios keyboard to your text fields. The current options of buttons are Done, Next, Search and Send.
Features #
Easyly show an action button for the user above the iOS keyboard.
Depend on it
Add the package on the pubspec.yaml
dependencies:
ios_keyboard_action: ^0.0.2
Import it
import 'package:ios_keyboard_action/ios_keyboard_action.dart';
Use it
IOSKeyboardAction(
focusNode: focusNode,
iosKeyboardActionType: IOSKeyboardActionType.send,
onTap: () {
// Do the awesome thing you need to be done.
},
child: TextField(
focusNode: focusNode,
keyboardType: TextInputType.number,
),
),