mirrored_repositories/blog_app_flutter_bloc/lib/widgets
import 'package:blog_api_app/widgets/loaders/shimmer_loading_effect.dart';
import 'package:flutter/material.dart';

class ProfileLoadingShimmer extends StatelessWidget {
  final double width;

  const ProfileLoadingShimmer(this.width);

  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: const EdgeInsets.all(10.0),
      child: Column(
        mainAxisSize: MainAxisSize.min,
        crossAxisAlignment: CrossAxisAlignment.stretch,
        children: [
          SizedBox(height: 10.0),
          ShimmerLoadingWidget(
            width: 200.0,
            height: 200.0,
            isCircle: true,
          ),
        ],
      ),
    );
  }
}
