flutter_time_slot_picker 0.0.9 copy "flutter_time_slot_picker: ^0.0.9" to clipboard
flutter_time_slot_picker: ^0.0.9 copied to clipboard

A package that provide user to pick time slot by horizontal slider view. Also it will help to show the schedule of entity.

flutter_time_slot_picker

A package that provide user to pick time slot by horizontal slider view. Also it will help to show the schedule of entity.

Getting started

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies: ... flutter_time_slot_picker: <latest_version>

In your library add the following import:

import 'package:flutter_time_slot_picker/flutter_time_slot_picker.dart';

For help getting started with Flutter, view the online documentation.

TimeSlotPiker example

FlutterTimeSlotPicker(
    height: 60,
    bookedSlots: [
    '2:00-3:00',
    '4:00-5:30',
    '6:30-7:00',
    '8:30-9:30',
    '10:00-13:00',
    '14:00-14:30',
    '15:30-18:00',
    ],
    onSlotChange: (availablity, startTime, endTime) {
    setState(() {
        timeSlotAvailablity = availablity;
        selectedStartTime = startTime;
        selectedEndTime = endTime;
    });
    },
),

One can start with simply adding dependency and use FlutterTimeSlotPicker this widget to display Horizontal Time Slot Picker. Alt Text

4
likes
140
pub points
60%
popularity

Publisher

unverified uploader

A package that provide user to pick time slot by horizontal slider view. Also it will help to show the schedule of entity.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on flutter_time_slot_picker