import 'package:flutter/material.dart'; import 'package:shimmer/shimmer.dart'; class HomeBannerSkeleton extends StatelessWidget { @override Widget build(BuildContext context) { return Container( width: double.infinity, height: 200, color: Colors.white, child: Shimmer.fromColors( baseColor: Colors.grey[300], highlightColor: Colors.grey[100], child: Container( margin: EdgeInsets.all(10), decoration: BoxDecoration( color: Colors.white, borderRadius: BorderRadius.all(Radius.circular(10))), ), ), ); } }