F-DateTimeRangePicker

Date and Time Range Picker for Flutter

Installing:

dependencies:
  f_datetimerangepicker: ^0.1.1

Using:

import 'package:f_datetimerangepicker/f_datetimerangepicker.dart';

  DateTimeRangePicker(
                    startText: "From",
                    endText: "To",
                    doneText: "Yes",
                    cancelText: "Cancel",
                    interval: 5,
                    initialStartTime: DateTime.now(),
                    initialEndTime: DateTime.now().add(Duration(days: 20)),
                    mode: DateTimeRangePickerMode.dateAndTime,
                    onConfirm: (start, end) {
                      print(start);
                      print(end);
                    }).showPicker(context);

Libraries

f_datetimerangepicker