flutter_pickers 0.0.2
flutter_pickers: ^0.0.2 copied to clipboard
Flutter selector class library, including date and time selector (settable range), single selector (can be used for gender, occupation, education, constellation, etc.), city address selector (sub-prov [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_pickers
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_pickers: ^0.0.2
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:flutter_pickers/address_picker/address_picker.dart';
import 'package:flutter_pickers/address_picker/data.dart';
import 'package:flutter_pickers/pickers/init_data.dart';
import 'package:flutter_pickers/pickers/pickers.dart';
import 'package:flutter_pickers/utils/check.dart';