tunaf_country_code 0.0.1 tunaf_country_code: ^0.0.1 copied to clipboard
This package base on country_code_picker, A flutter package for showing a country code selector. In addition it gives the possibility to select a list of favorites countries, as well as to search usin [...]
import 'package:flutter/material.dart';
import 'package:tunaf_country_code/country_code_picker.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: const Center(
child: CountryCodePicker(),
),
),
);
}
}