mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
58 lines
1.9 KiB
Dart
58 lines
1.9 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:go_router/go_router.dart';
|
|
import 'package:syncrow_web/pages/access_management/booking_system/view/widgets/icon_text_button.dart';
|
|
import 'package:syncrow_web/utils/constants/assets.dart';
|
|
import 'package:syncrow_web/utils/constants/routes_const.dart';
|
|
|
|
class BookingPage extends StatelessWidget {
|
|
const BookingPage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
child: Row(
|
|
children: [
|
|
Expanded(
|
|
child: Container(
|
|
color: Colors.blueGrey[100],
|
|
child: const Center(
|
|
child: Text(
|
|
'Side bar',
|
|
style: TextStyle(fontSize: 24, fontWeight: FontWeight.bold),
|
|
),
|
|
),
|
|
)),
|
|
Expanded(
|
|
flex: 4,
|
|
child: Padding(
|
|
padding: const EdgeInsets.all(20.0),
|
|
child: SizedBox(
|
|
child: Column(
|
|
children: [
|
|
Row(
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
children: [
|
|
SvgTextButton(
|
|
svgAsset: Assets.homeIcon,
|
|
label: 'Manage Bookable Spaces',
|
|
onPressed: () {
|
|
context
|
|
.go(RoutesConst.manageBookableSapcesPage);
|
|
}),
|
|
const SizedBox(width: 20),
|
|
SvgTextButton(
|
|
svgAsset: Assets.groupIcon,
|
|
label: 'Manage Users',
|
|
onPressed: () {})
|
|
],
|
|
)
|
|
],
|
|
),
|
|
),
|
|
))
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|