ios_keyboard_action 0.0.7 ios_keyboard_action: ^0.0.7 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(
label: 'Next field',
focusNode: focusNode,
focusActionType: FocusActionType.next,
onTap: () => _showModal(context),
child: TextField(
decoration: const InputDecoration(
labelText: 'Type something',
),
focusNode: focusNode,
keyboardType: TextInputType.number,
),
),