flutter_native_text_input
2.4.0, released 4 years ago by an unverified publisher
Flutter widget that wraps the native iOS UITextView and Android EditText for text input.
What it does
It provides a text field implemented with the platform's native controls, giving the same look, feel and behavior as the system widgets. The widget exposes common TextField properties and iOS‑specific options through a Flutter API.
AI-written summary of version 2.4.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need native‑level text editing features such as precise cursor handling or custom font support on iOS/Android
- Your app targets mobile only and wants the exact platform text‑input experience
- You require Android support in addition to iOS for a unified native input widget
Skip it when
- A simple cross‑platform TextField is sufficient and you don't need native fidelity
- You target web or desktop platforms
- You need extensive custom UI beyond what the native view offers
Strengths
- Native look and feel on iOS and Android
- Supports custom font families and detailed iOS options
- Handles cursor color, placeholder styling, and return key types
Weaknesses
- Only works on mobile platforms (no web/desktop)
- Adds a native bridge which can increase app size and complexity
- Limited to the features exposed by the plugin; deep customization may require platform code
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:flutter_native_text_input/flutter_native_text_input.dart';
class Demo extends StatelessWidget {
@override
Widget build(BuildContext context) {
return NativeTextInput(
placeholder: 'Enter text',
maxLines: 3,
onChanged: (value) => print(value),
);
}
}Alternatives
Packages that do the same job and could replace flutter_native_text_input.
- virtual_keypad
On-screen virtual keyboard widget for Flutter kiosk, POS, TV, desktop and touchscreen apps.
80Compare - re_editor
A lightweight text and code editor widget for Flutter with syntax highlighting and folding.
80Compare - expandable_text
Flutter widget that shows truncated text with an expand/collapse link.
50Compare - input_history_text_field
A TextField that automatically saves typed entries and suggests them as history.
50Compare