import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:demand/presentation/style/style.dart';

class BannerShimmer extends StatelessWidget {
  const BannerShimmer({super.key});

  @override
  Widget build(BuildContext context) {
    return Expanded(
      child: PageView.builder(
        itemCount: 2,
        scrollDirection: Axis.horizontal,
        itemBuilder: (context, index) {
          return Padding(
            padding: EdgeInsets.symmetric(horizontal: 16.r),
            child: Container(
              decoration: BoxDecoration(
                color: CustomStyle.shimmerBase,
                borderRadius: BorderRadius.circular(24.r),
              ),
            ),
          );
        },
      ),
    );
  }
}
