aki_datetime_picker 0.0.1 copy "aki_datetime_picker: ^0.0.1" to clipboard
aki_datetime_picker: ^0.0.1 copied to clipboard

A simple DateTime Picker made by AKI

AKI DateTime Picker #

A lightweight and cupertino date time picker.

single-mode-picker multi-mode-picker range-picker-mode dialog-function
single mode multi mode range mode dialog function

Intro #

AKI DateTime Picker consists of two main widgets:

  • AKI DateTime Picker, this widget only includes the calendar UI and will emit event whenever user taps a different date.

Features #

How to use #

Make sure to check out examples for more details.

Installation #

Add the following line to pubspec.yaml:

dependencies:
  aki_datetime_picker: ^0.5.2

Basic setup #

AkiDateTimePicker(
  value: _dates,
  onValueChanged: (dateString) => _dates = dateString,
);

Multi-language support #

This package has multi-language supports. To enable it, add your Locale into the wrapping MaterialApp:

MaterialApp(
  localizationsDelegates: GlobalMaterialLocalizations.delegates,
  supportedLocales: const [
    Locale('en', ''),
    Locale('zh', ''),
    Locale('ru', ''),
    Locale('es', ''),
    Locale('hi', ''),
  ],
  ...
);

Feel free to contribute to this project. 🍺 Pull requests are welcome!

There are some tips before creating a PR:

  • Please always create an issue/feature before raising a PR
  • Please always create a minimum reproducible example for an issue
  • Please use the official Dart Extension as your formatter or use flutter format . -l 80 if you are not using VS Code
  • Please keep your changes to its minimum needed scope (avoid introducing unrelated changes)
  • Please follow this git commit convention by adding feat: or fix: to your PR commit
3
likes
120
points
29
downloads

Publisher

verified publisheryuaki.com

Weekly Downloads

A simple DateTime Picker made by AKI

Homepage

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, intl

More

Packages that depend on aki_datetime_picker