flutter_cupertino_data_picker

Last updated:

0 purchases

flutter_cupertino_data_picker Image
flutter_cupertino_data_picker Images
Add to Cart

Description:

flutter cupertino data picker

flutter_cupertino_data_picker #
flutter cupertino data_picker.
Getting Started #

Usage #
void _showDataPicker() {
final bool showTitleActions = true;
DataPicker.showDatePicker(
context,
showTitleActions: showTitleActions,
locale: 'zh',
datas: ['dog', 'cat'],
title: 'select',
onChanged: (data) {
print('onChanged date: $data');
},
onConfirm: (data) {
print('onConfirm date: $data');
},
);
}
copied to clipboard
Use this package as a library #

Depend on it
Add this to your package's pubspec.yaml file:

dependencies:
flutter_cupertino_data_picker: ^0.8.6
copied to clipboard

Install it
You can install packages from the command line:

with Flutter:
$ flutter packages get
copied to clipboard
Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

Import it
Now in your Dart code, you can use:

import 'package:flutter_cupertino_data_picker/flutter_cupertino_data_picker.dart';
copied to clipboard
Fork by https://github.com/wuzhendev/flutter-cupertino-date-picker

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.