0 purchases
date time widget
date_time_widget(Under Development) #
A date_time_widget is a useful Date and Time Picker. Where user can select the future and pas date and can show with the widget.Time Picker using the widget will allow the time selection in 12 or 24 hours formate.
Key Features #
Auto animation on the selection.
12/24 Hours formate for the Time Picker
Can support future and past Date
Getting Started #
To use this package, add date_time_widget as a dependency in your pubspec.yaml file.
dependencies:
...
date_time_widget: ^1.0.0
copied to clipboard
Now in your Dart code, you can use:
import 'package:date_time_widget/Module/DatePicker/date_picker_view.dart';
import 'package:date_time_widget/TimePicker/time_picker_view.dart';
copied to clipboard
Usage #
DatePicker(textColor: hexToColor('#F4A896'),
widgetBackColor: hexToColor('#F4A896'),
listBackColor: Color(0xffffcdd2),
widgetHeight: 80,
widgetWidth: 80,
containerHeight: 100,
containerWidth: 100,
expandWidth: MediaQuery.of(context).size.width,
dateCallBack: dateCallBack,
timeCallBack: null,
calendarType: typesofCalendar.days)
TimePickerView(
textColor: hexToColor('#F4A896'),
widgetBackColor: hexToColor('#F4A896'),
listBackColor: Colors.red,
widgetHeight: 80,
widgetWidth: 80,
containerHeight: 100,
containerWidth: 100,
expandWidth: MediaQuery.of(context).size.width,
dateCallBack: null,
timeCallBack: hourCallBack,
calendarType: typesofCalendar.hours)
copied to clipboard
LICENSE! #
date_time_widget is MIT-licensed.
Let us know! #
We’d be really happy if you send us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding our work.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.