input_history_text_field
0.4.0, released 2 years ago by trashfeed.net
A TextField that automatically saves typed entries and suggests them as history.
What it does
The widget stores each typed value locally using shared_preferences. As the user types, previously saved entries are shown as suggestions that can be selected or deleted. It offers several visual customizations for the suggestion list.
AI-written summary of version 0.4.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need simple local autocomplete for a text field without a backend
- You want quick history suggestions with minimal code
Skip it when
- You require server‑side suggestions or large datasets
- You need encrypted or secure storage for the history
Strengths
- Zero‑config local persistence
- Highly customizable appearance
- Works on all Flutter platforms
Weaknesses
- Limited to shared_preferences storage
- No remote sync or advanced search
- History size capped by a small limit
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
InputHistoryTextField(
historyKey: "01",
listStyle: ListStyle.Badge,
lockItems: ["Flutter", "Rails", "React", "Vue"],
);Alternatives
Packages that do the same job and could replace input_history_text_field.
- re_editor
A lightweight text and code editor widget for Flutter with syntax highlighting and folding.
80Compare - virtual_keypad
On-screen virtual keyboard widget for Flutter kiosk, POS, TV, desktop and touchscreen apps.
80Compare - mermaid_flutter
Native Flutter renderer for Mermaid diagrams using CustomPainter and TextPainter.
74Compare - auto_hide_keyboard
Automatically hides the soft keyboard when tapping outside text fields or scrolling.
47Compare
Works with
Packages commonly used together with input_history_text_field: ones it builds on, ones built on it, and its own family.