diff --git a/lib/helpers/widgets/my_custom_skeleton.dart b/lib/helpers/widgets/my_custom_skeleton.dart index f6b7d3f..a2c582d 100644 --- a/lib/helpers/widgets/my_custom_skeleton.dart +++ b/lib/helpers/widgets/my_custom_skeleton.dart @@ -1929,41 +1929,28 @@ class SkeletonLoaders { ), const SizedBox(width: 16), // Legend/Details Placeholder - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: List.generate( - 3, - (index) => Padding( - padding: const EdgeInsets.only(bottom: 8.0), - child: Row( - mainAxisAlignment: - MainAxisAlignment.spaceBetween, - children: [ - Row( - children: [ - Container( - width: 8, - height: 8, - margin: - const EdgeInsets.only(right: 8), - decoration: BoxDecoration( - color: Colors.grey.shade300, - shape: BoxShape.circle)), - Container( - height: 12, - width: 80, - color: Colors.grey.shade300), - ], - ), - Container( - height: 14, - width: 50, - color: Colors.grey.shade300), - ], - ), - )), - ), + // Aging Legend Placeholders + Wrap( + spacing: 12, + runSpacing: 8, + children: List.generate( + 4, + (index) => Row( + mainAxisSize: MainAxisSize.min, + children: [ + Container( + width: 10, + height: 10, + decoration: BoxDecoration( + color: Colors.grey.shade300, + shape: BoxShape.circle)), + const SizedBox(width: 6), + Container( + height: 12, + width: 115, // Reduced from 120 + color: Colors.grey.shade300), + ], + )), ), ], ),