removed expanded widget that caused a size exception.

This commit is contained in:
Faris Armoush
2025-06-24 10:21:25 +03:00
parent 95ae50d12d
commit 87b45fff1d

View File

@ -7,8 +7,7 @@ class SpaceManagementTemplatesView extends StatelessWidget {
const SpaceManagementTemplatesView({super.key});
@override
Widget build(BuildContext context) {
return Expanded(
child: ColoredBox(
return ColoredBox(
color: ColorsManager.whiteColors,
child: GridView.builder(
padding: const EdgeInsets.symmetric(horizontal: 40, vertical: 20),
@ -27,7 +26,6 @@ class SpaceManagementTemplatesView extends StatelessWidget {
);
},
),
),
);
}