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