0 purchases
aki datetime picker
AKI DateTime Picker #
A lightweight and cupertino date time picker.
Intro #
AKI DateTime Picker consists of three main widgets:
AKI DateTime Picker, this widget can make a cupertino picker and to help users to select date and time.
AKI Date Picker, this widget can make a cupertino picker and to help users to select only date.
AKI Time Picker, this widget can make a cupertino picker and to help users to select only time.
Installation #
Add the following line to pubspec.yaml:
dependencies:
aki_datetime_picker: ^1.0.4
copied to clipboard
How to use #
import 'package:aki_datetime_picker/aki_datetime_picker.dart';
copied to clipboard
basic use #
AKIDateTimePicker(
onChange: (v) {
debugPrint(v.toString());
}),
copied to clipboard
Customized #
AKIDateTimePicker(
borderColor: Colors.blue,
colorMask: Colors.red.withOpacity(0.1),
selDate: DateTime.now(),
startYear: 2020,
endYear: 2025,
lblYear: "年",
lblMonth: "月",
lblDay: "日",
lblHour: "時",
lblMin: "分",
lblColor: Colors.blue,
textColor: Colors.green,
onChange: (v) {
debugPrint(v.toString());
}),
copied to clipboard
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.