remove unused container

This commit is contained in:
Rafeek-Khoudare
2025-07-21 14:29:57 +03:00
parent 631766e0ec
commit ebfdfe1762

View File

@ -12,48 +12,46 @@ class BookingPage extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Container( return Row(
child: Row( children: [
children: [ Expanded(
Expanded( child: Container(
child: Container( color: Colors.blueGrey[100],
color: Colors.blueGrey[100], child: const Center(
child: const Center( child: Text(
child: Text( 'Side bar',
'Side bar', style: TextStyle(fontSize: 24, fontWeight: FontWeight.bold),
style: TextStyle(fontSize: 24, fontWeight: FontWeight.bold),
),
), ),
)), ),
Expanded( )),
flex: 4, Expanded(
child: Padding( flex: 4,
padding: const EdgeInsets.all(20.0), child: Padding(
child: SizedBox( padding: const EdgeInsets.all(20.0),
child: Column( child: SizedBox(
children: [ child: Column(
Row( children: [
mainAxisAlignment: MainAxisAlignment.start, Row(
children: [ mainAxisAlignment: MainAxisAlignment.start,
SvgTextButton( children: [
svgAsset: Assets.homeIcon, SvgTextButton(
label: 'Manage Bookable Spaces', svgAsset: Assets.homeIcon,
onPressed: () { label: 'Manage Bookable Spaces',
pageController.jumpToPage(2); onPressed: () {
}), pageController.jumpToPage(2);
const SizedBox(width: 20), }),
SvgTextButton( const SizedBox(width: 20),
svgAsset: Assets.groupIcon, SvgTextButton(
label: 'Manage Users', svgAsset: Assets.groupIcon,
onPressed: () {}) label: 'Manage Users',
], onPressed: () {})
) ],
], )
), ],
), ),
)) ),
], ))
), ],
); );
} }
} }