pin_code_fields 9.0.0-dev.3 copy "pin_code_fields: ^9.0.0-dev.3" to clipboard
pin_code_fields: ^9.0.0-dev.3 copied to clipboard

A highly customizable PIN/OTP input field for Flutter with Material Design support and headless core for custom UIs.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'home_page.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Pin Code Fields',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(
          seedColor: Colors.indigo,
          brightness: Brightness.light,
        ),
        useMaterial3: true,
      ),
      darkTheme: ThemeData(
        colorScheme: ColorScheme.fromSeed(
          seedColor: Colors.indigo,
          brightness: Brightness.dark,
        ),
        useMaterial3: true,
      ),
      themeMode: ThemeMode.system,
      home: const HomePage(),
    );
  }
}
2.33k
likes
160
points
291k
downloads
screenshot

Publisher

verified publishertheadar.xyz

Weekly Downloads

A highly customizable PIN/OTP input field for Flutter with Material Design support and headless core for custom UIs.

Repository (GitHub)
View/report issues

Topics

#ui #widget #pin-code #otp #input

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on pin_code_fields