import 'package:flutter/material.dart';
import 'package:shimmer/shimmer.dart';
import 'package:comwell_key_app/themes/light_theme.dart';
class SettingsShimmerLoader extends StatelessWidget {
const SettingsShimmerLoader({super.key});
@override
Widget build(BuildContext context) {
return Shimmer.fromColors(
baseColor: sandColor[40]!,
highlightColor: sandColor[10]!,
enabled: true,
child: Row(
mainAxisSize: MainAxisSize.min,
children: [
Container(
width: 24,
height: 24,
decoration: const BoxDecoration(
color: Colors.white,
shape: BoxShape.circle,
),
),
const SizedBox(width: 8),
Container(
width: 80,
height: 16,
color: Colors.white,
),
],
),
);
}
}