booking_and_publish_slots 0.0.15 copy "booking_and_publish_slots: ^0.0.15" to clipboard
booking_and_publish_slots: ^0.0.15 copied to clipboard

Booking and Publish Slots plugin help you to implement slots booking.

booking_and_publish_slots #

This is a plugin that provides slot booking and publishing functionality.

Getting Started #

The Boilerplate contains the minimal implementation required to create a new library or project. The repository code is preloaded with some basic components like basic app architecture, app theme, constants and required dependencies to create a new project. By using boiler plate code as standard initializer, we can have same patterns in all the projects that will inherit it. This will also help in reducing setup & development time by allowing you to use same code pattern and avoid re-writing from scratch.

Screen Shots #

App Screenshot App Screenshot App Screenshot

How to Use #

Step 1:

Go to project root and execute the following command in console to get the required dependencies:

flutter pub get booking_and_publish_slots 

Step 2:

Add the ProviderScope to the root Application.

void main() {
  runApp(const ProviderScope(child: MyApp()));
}

Step 3:

Add the following code:

BookingAndPublishSlotsMain(bookedButtonName: "Book"))

Step 4:

You can also modify the following properties id required.

BookingAndPublishSlotsMain BookingAndPublishSlotsMain({Key? key,
   int numberOfDays = 7,  
   int timeDifferenceInMinute = 5, 
   String bookedButtonName = "Book Slot",   
   Color selectedDateColor = const Color(0xFFFFC93C),   
   Color unSelectedDateColor = Colors.white,   
   Color selectedSlotsColor = const Color(0xFFFFF6DE),   
   Color selectedSlotsBorderColor = const Color(0xFFFFC93C),   
   Color unSelectedSlotsColor = Colors.white,   
   Color unSelectedSlotsBorderColor = const Color(0xFFE3E3E3),   
   Color bookedSlotsColor = const Color(0x1A13176A),   
   Color bookedSlotsBorderColor = const Color(0xE613176A),   
   List<String> groupLabels = const ["Night (12 AM - 6 AM)", "Morning (6 AM - 12 PM)", "Afternoon (12 PM - 6 PM)", "Evening (6 PM - 12 AM)"],   
   List<String> groupAssets = const ["assets/sunrise.svg", "assets/sunrise.svg", "assets/sunrise.svg", "assets/sunrise.svg"], })

8
likes
0
pub points
60%
popularity

Publisher

unverified uploader

Booking and Publish Slots plugin help you to implement slots booking.

Homepage

License

unknown (license)

Dependencies

change_app_package_name, flutter, flutter_riverpod, flutter_svg, flutter_web_plugins, intl, plugin_platform_interface

More

Packages that depend on booking_and_publish_slots