mirrored_repositories/architecture-template/lib/product
// ignore_for_file: public_member_api_docs

import 'package:common/common.dart';
import 'package:flutter/material.dart';
import 'package:gen/gen.dart';

/// Network image with [Lottie] Loading
final class ProjectNetworkImage extends StatelessWidget {
  const ProjectNetworkImage({
    required this.url,
    super.key,
  });
  final String? url;
  @override
  Widget build(BuildContext context) {
    return CustomNetworkImage(
      imageUrl: url,
      loadingWidget: Assets.lottie.animZombie.lottie(),
    );
  }
}
