FLUTTER ECOSYSTEM

code_input

Flutter Code Input Widget

code_input cover
Latest version
2.0.0
30-day downloads
323
Likes
9
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Flutter widget designed for creating clean, customizable code input fields ideal for PINs, OTPs, and password entry. It supports multiple input types, automatic focus management between fields, and seamless integration across platforms. The widget is lightweight, easy to configure, and provides a consistent user experience on Android, iOS, Web, macOS, Windows, and Linux. It handles input validation and formatting out of the box, making it perfect for authentication flows.

Use cases

  • One-time password (OTP) entry
  • PIN code input for login
  • Secure password field with masked input
  • Multi-digit verification forms
  • Authentication screens
  • Form validation in mobile apps

Key features

  • Auto-focus between input fields
  • Customizable text style and colors
  • Supports both numeric and alphanumeric input
  • Cross-platform compatibility
  • Built-in input validation
  • Easy integration with form controllers

Suitable for

  • Mobile app developers
  • Authentication feature builders
  • UX-focused form designers
  • Cross-platform Flutter projects
  • Apps requiring secure input fields

Considerations

  • Limited to single-line input
  • No built-in biometric authentication
  • Does not support dynamic field count at runtime
  • Requires manual handling of submission logic
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add code_input

Categories

Source repository

Projects using this package

No data available yet.