keyboard_actions
5.0.3, released 8 weeks ago by diegoveloper.com
Add a keyboard toolbar with Done, navigation arrows, and custom panels in Flutter.
What it does
Provides a floating toolbar in an Overlay for forms and input fields. It automatically handles field discovery, Prev/Next navigation, and scrolling focused fields into view without scroll hacks.
AI-written summary of version 5.0.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a Done or Submit button above the virtual keyboard in forms or lists.
- You want automatic Previous and Next field navigation without manually managing FocusNodes.
- You are integrating custom keyboards or number pads.
Skip it when
- You are building a desktop-only application where virtual keyboards are not used.
Strengths
- Zero FocusNode setup required for basic usage with automatic field discovery.
- Does not hijack scrolling or require setting resizeToAvoidBottomInset to false.
- Supports theming via ThemeExtension and custom keyboards per field.
Weaknesses
- Relies on standard text editing and focus mechanics, which might require extra wiring for non-standard text inputs.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Scaffold(
body: KeyboardActions.done(
child: ListView(
padding: const EdgeInsets.all(20),
children: const [
TextField(decoration: InputDecoration(labelText: 'Email')),
TextField(decoration: InputDecoration(labelText: 'Password'), obscureText: true),
],
),
),
)Alternatives
Packages that do the same job and could replace keyboard_actions.
- month_picker_dialog
Material-style dialog for selecting months, month ranges, and years.
86Compare - ms_single_multi_select_dropdown
Customizable Flutter widget for single and multi-select dropdowns with search.
59Compare - reactive_date_time_picker
A wrapper around Flutter date and time pickers to integrate them with reactive_forms.
56Compare - dropdown_model_list
Flexible dropdown list package supporting single, search, multiple, and radio selections.
44Compare
Works with
Packages commonly used together with keyboard_actions: ones it builds on, ones built on it, and its own family.