atlas_picker 1.0.4
atlas_picker: ^1.0.4 copied to clipboard
A Flutter package for easy selection of countries and states with customizable pickers.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add atlas_picker
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
atlas_picker: ^1.0.4
Alternatively, your editor might support 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/country_picker_content.dart';
import 'package:atlas_picker/elements/country_picker_default_ui.dart';
import 'package:atlas_picker/elements/responsive_helper.dart';
import 'package:atlas_picker/elements/smart_overlay.dart';
import 'package:atlas_picker/elements/state_picker_content.dart';
import 'package:atlas_picker/elements/state_picker_default_ui.dart';
import 'package:atlas_picker/model/country_model.dart';
import 'package:atlas_picker/picker.dart';
import 'package:atlas_picker/pickers/country_picker.dart';
import 'package:atlas_picker/pickers/state_picker.dart';