phone_number 0.12.0+2 phone_number: ^0.12.0+2 copied to clipboard
Flutter plugin for parsing, formatting and validating international phone numbers.
import 'package:flutter/material.dart';
import 'package:phone_number_example/home.dart';
void main() => runApp(App());
void dismissKeyboard(BuildContext context) => FocusScope.of(context).unfocus();
class App extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(fontFamily: 'Helvetica Neue'),
home: Home(),
);
}
}