Skip to content
pubscout

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.

WASM-ready
$ flutter pub add flutter_native_text_input
Source repository

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.