Pour gérer vos consentements :

Flutter Airbnb Clone May 2026

// bookings/bookingId

listingId, guestId, checkIn, checkOut, totalPrice, status: 'pending' flutter airbnb clone

final listingProvider = FutureProvider.family<Listing, String>((ref, id) async final repo = ref.watch(listingRepoProvider); return await repo.getListingById(id); ); final wishlistProvider = StateNotifierProvider<WishlistNotifier, List<String>>((ref) return WishlistNotifier(ref.read(wishlistRepoProvider)); ); 6. Database Schema (Firestore Example) // users/userId // bookings/bookingId listingId

bookingId, listingId, authorId, rating, comment, createdAt id) async final repo = ref.watch(listingRepoProvider)

senderId, text, timestamp, read

hostId, title, description, location (GeoPoint), address, pricePerNight, cleaningFee, guestsAllowed, amenities: [wifi, kitchen, pool], images: [url1, url2], bookedDates: [timestamp1, timestamp2], createdAt

Using syncfusion_flutter_datepicker to disable already booked dates (fetch from Firestore).