atlas_picker 1.0.2
atlas_picker: ^1.0.2 copied to clipboard
A Flutter package for easy selection of countries and states with customizable pickers. Supports flag-only and full country details, making it perfect for apps requiring location selection.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add atlas_pickerWith Flutter:
$ flutter pub add atlas_pickerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
atlas_picker: ^1.0.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:atlas_picker/elements/country_list.dart';
import 'package:atlas_picker/elements/picker_helper.dart';
import 'package:atlas_picker/elements/smart_overlay.dart';
import 'package:atlas_picker/model/country_model.dart';
import 'package:atlas_picker/model/country_model.freezed.dart';
import 'package:atlas_picker/model/country_model.g.dart';
import 'package:atlas_picker/picker.dart';
import 'package:atlas_picker/pickers/country_picker_new.dart';
import 'package:atlas_picker/pickers/state_picker_new.dart';