time_interval_picker

A Custom Time Interval Select Dropdown for getting a Time Range.

Installation

1. Depend On It

Add this to pubspec.yaml file

    dependencies:
        time_interval_picker: ^[latest_version]

2. Install it

Run the following command in shell

    flutter pub get

3. Import It

Import the package in your Dart Code

    import 'package:time_interval_picker/time_interval_picker.dart';    

Base Usage

    TimeIntervalPicker(
        endLimit: null,
        startLimit: null,
        onChanged: (DateTime? startTime, DateTime? endTime, bool isAllDay) {},
    ),

License

The project is licensed under MIT License.

GitHub

View Github