removed width from blank container

This commit is contained in:
hannathkadher
2024-11-26 09:36:12 +04:00
parent 5ac7eb0301
commit 703e0efd2e

View File

@ -28,9 +28,10 @@ class BlankCommunityWidget extends StatelessWidget {
child: Column(
crossAxisAlignment: CrossAxisAlignment.center, // Center align the content
children: [
Container(
width: 400, // Explicitly set item width
height: 150, // Item height
Expanded(
child: AspectRatio(
aspectRatio: 2.0,
child: Container(
decoration: ShapeDecoration(
shape: RoundedRectangleBorder(
side: BorderSide(
@ -42,6 +43,9 @@ class BlankCommunityWidget extends StatelessWidget {
),
),
),
),
),
const SizedBox(height: 9), // Space between item and text
Text('Blank', // Text below the item
style: Theme.of(context).textTheme.bodyLarge?.copyWith(