mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
removed width from blank container
This commit is contained in:
@ -28,20 +28,24 @@ class BlankCommunityWidget extends StatelessWidget {
|
|||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.center, // Center align the content
|
crossAxisAlignment: CrossAxisAlignment.center, // Center align the content
|
||||||
children: [
|
children: [
|
||||||
Container(
|
Expanded(
|
||||||
width: 400, // Explicitly set item width
|
child: AspectRatio(
|
||||||
height: 150, // Item height
|
aspectRatio: 2.0,
|
||||||
decoration: ShapeDecoration(
|
child: Container(
|
||||||
shape: RoundedRectangleBorder(
|
decoration: ShapeDecoration(
|
||||||
side: BorderSide(
|
shape: RoundedRectangleBorder(
|
||||||
width: 4,
|
side: BorderSide(
|
||||||
strokeAlign: BorderSide.strokeAlignOutside,
|
width: 4,
|
||||||
color: ColorsManager.borderColor,
|
strokeAlign: BorderSide.strokeAlignOutside,
|
||||||
|
color: ColorsManager.borderColor,
|
||||||
|
),
|
||||||
|
borderRadius: BorderRadius.circular(5),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
borderRadius: BorderRadius.circular(5),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
const SizedBox(height: 9), // Space between item and text
|
const SizedBox(height: 9), // Space between item and text
|
||||||
Text('Blank', // Text below the item
|
Text('Blank', // Text below the item
|
||||||
style: Theme.of(context).textTheme.bodyLarge?.copyWith(
|
style: Theme.of(context).textTheme.bodyLarge?.copyWith(
|
||||||
|
Reference in New Issue
Block a user