This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| class AddApartmentScreen extends StatefulWidget { | |
| const AddApartmentScreen({Key? key}) : super(key: key); | |
| @override | |
| State<AddApartmentScreen> createState() => _AddApartmentScreenState(); | |
| } | |
| class _AddApartmentScreenState extends State<AddApartmentScreen> { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import '../widgets/booking_card.dart'; | |
| class BookingsUI extends StatelessWidget { | |
| const BookingsUI({super.key}); | |
| @override | |
| Widget build(BuildContext context) { | |
| return Scaffold( | |
| backgroundColor: const Color(0xFFF5F0FA), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| class BookingCard extends StatelessWidget { | |
| final int apartmentId; | |
| final String startDate; | |
| final String endDate; | |
| final String status; | |
| final VoidCallback onEdit; | |
| final VoidCallback onCancel; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| class NotificationsScreen extends StatelessWidget { | |
| const NotificationsScreen({super.key}); | |
| @override | |
| Widget build(BuildContext context) { | |
| // Example response data (can be fetched from API later) | |
| final notifications = [ | |
| { |