booking_and_publish_slots 0.0.3 booking_and_publish_slots: ^0.0.3 copied to clipboard
Booking and Publish Slots plugin help you to implement slots booking.
import 'package:booking_and_publish_slots/components/booking_and_publish_slots_main.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
void main() {
runApp(const ProviderScope(child: MyApp()));
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('BookingAndPublishSlots example app'),
),
body: const BookingAndPublishSlotsMain(bookedButtonName: "Book")),
);
}
}