phone_number 2.0.1 copy "phone_number: ^2.0.1" to clipboard
phone_number: ^2.0.1 copied to clipboard

discontinuedreplaced by: phone_numbers_parser
PlatformAndroidiOS

Flutter plugin for parsing, formatting and validating international phone numbers.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:phone_number_example/home.dart';

void main() => runApp(const App());

void dismissKeyboard(BuildContext context) => FocusScope.of(context).unfocus();

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData(fontFamily: 'Helvetica Neue'),
      home: Home(),
    );
  }
}
184
likes
145
pub points
98%
popularity

Publisher

verified publisherflutterformbuilderecosystem.com

Flutter plugin for parsing, formatting and validating international phone numbers.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

opencollective.com

License

BSD-3-Clause (license)

Dependencies

flutter, meta

More

Packages that depend on phone_number