import 'package:flutter/material.dart';
import 'shimmer_loading.dart';

/// Widget affichant l'état de chargement de la liste des amis avec skeleton loaders.
class FriendsLoadingState extends StatelessWidget {
  const FriendsLoadingState({required this.theme, super.key});

  final ThemeData theme;

  @override
  Widget build(BuildContext context) {
    return SkeletonGrid(
      itemCount: 6,
      skeletonWidget: const FriendCardSkeleton(),
      crossAxisCount: 3,
    );
  }
}

