f_datetimerangepicker 0.1.4 f_datetimerangepicker: ^0.1.4 copied to clipboard
Date and Time Range Picker for Flutter using Cupertino. Support pick date range, time range, date and time range.
F-DateTimeRangePicker #
Date and Time Range Picker for Flutter
Installing:
dependencies:
f_datetimerangepicker: ^0.1.3
Using:
import 'package:f_datetimerangepicker/f_datetimerangepicker.dart';
DateTimeRangePicker(
startText: "From",
endText: "To",
doneText: "Yes",
cancelText: "Cancel",
interval: 5,
initialStartTime: now,
initialEndTime: now.add(Duration(days: 20)),
mode: DateTimeRangePickerMode.dateAndTime,
minimumTime: now.subtract(Duration(days: 5)),
maximumTime: now.add(Duration(days: 25)),
onConfirm: (start, end) {
print(start);
print(end);
}).showPicker(context);