///This file is automatically generated. DO NOT EDIT, all your changes would be lost.
// ignore_for_file: dangling_library_doc_comments, implementation_imports
import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:lottie/lottie.dart';
import 'package:lottie/src/lottie_builder.dart';
import 'package:lottie/src/composition.dart';

class Assets {
  Assets._();

  static const LottieGenImage foodCourier = LottieGenImage('assets/lottie/Food Courier.json');
  static const LottieGenImage notDataFound = LottieGenImage('assets/lottie/NotDataFound.json');
  static const $AssetsAssetsGen assets = $AssetsAssetsGen();
}

class $AssetsAssetsGen {
  const $AssetsAssetsGen();

  final $AssetsLocationDiscloseGen locationDisclose = const $AssetsLocationDiscloseGen();
  final $AssetsLottieGen lottie = const $AssetsLottieGen();
  final $AssetsOnBoardingGen onBoarding = const $AssetsOnBoardingGen();
  final $AssetsPngGen png = const $AssetsPngGen();
  final $AssetsReferEarnGen referEarn = const $AssetsReferEarnGen();
  final $AssetsSoundsGen sounds = const $AssetsSoundsGen();
}

class $AssetsPngGen {
  const $AssetsPngGen();

  final AssetGenImage appLogoDark = const AssetGenImage('assets/png/app-logo-dark.png');
  final AssetGenImage appLogoLight = const AssetGenImage('assets/png/app-logo-light.png');
  final AssetGenImage arrow = const AssetGenImage('assets/png/arrow.png');
  final AssetGenImage arrowRight = const AssetGenImage('assets/png/arrow_right.png');
  final AssetGenImage bike = const AssetGenImage('assets/png/bike.png');
  final AssetGenImage cardBackgroundImage = const AssetGenImage('assets/png/card_background_image.png');
  final AssetGenImage cod = const AssetGenImage('assets/png/cod.png');
  final AssetGenImage dashboardWalletImage = const AssetGenImage('assets/png/dashboard_wallet_image.png');
  final AssetGenImage googleMap = const AssetGenImage('assets/png/google_map.png');
  final AssetGenImage inactive = const AssetGenImage('assets/png/inactive.png');
  final AssetGenImage locationOnboard = const AssetGenImage('assets/png/location_onboard.png');
  final AssetGenImage log = const AssetGenImage('assets/png/log.png');
  final AssetGenImage loginScreen = const AssetGenImage('assets/png/login_screen.png');
  final AssetGenImage logo = const AssetGenImage('assets/png/logo.png');
  final AssetGenImage nativeSplashhIcon = const AssetGenImage('assets/png/native_splashh_icon.png');
  final AssetGenImage noData = const AssetGenImage('assets/png/no-data.png');
  final AssetGenImage noOrder = const AssetGenImage('assets/png/noOrder.png');
  final AssetGenImage noInternet = const AssetGenImage('assets/png/no_internet.png');
  final AssetGenImage notificationOnboard = const AssetGenImage('assets/png/notification_onboard.png');
  final AssetGenImage profile = const AssetGenImage('assets/png/profile.jpg');
  final AssetGenImage rider = const AssetGenImage('assets/png/rider.png');
}

class $AssetsLottieGen {
  const $AssetsLottieGen();

  final LottieGenImage foodCourier = const LottieGenImage('assets/lottie/Food Courier.json');
  final LottieGenImage notDataFound = const LottieGenImage('assets/lottie/NotDataFound.json');
  final LottieGenImage notactive = const LottieGenImage('assets/lottie/notactive.json');
}

class $AssetsReferEarnGen {
  const $AssetsReferEarnGen();

  final AssetGenImage referAndEarnIllustration = const AssetGenImage(
    'assets/refer_earn/refer-and-earn-illustration.png',
  );
}

class $AssetsLocationDiscloseGen {
  const $AssetsLocationDiscloseGen();

  final AssetGenImage locationdisclosure = const AssetGenImage('assets/location_disclose/locationdisclosure.png');
}

class $AssetsOnBoardingGen {
  const $AssetsOnBoardingGen();

  final AssetGenImage onboard1 = const AssetGenImage('assets/onBoarding/onboard1.png');
  final AssetGenImage onboard2 = const AssetGenImage('assets/onBoarding/onboard2.png');
  final AssetGenImage onboard3 = const AssetGenImage('assets/onBoarding/onboard3.png');
}

class $AssetsSoundsGen {
  const $AssetsSoundsGen();

  final String newOrderForegroundSound = 'assets/sounds/new_order_foreground_sound.mp3';
}

class AssetGenImage {
  const AssetGenImage(this._assetName, {this.size, this.flavors = const {}});

  final String _assetName;

  final Size? size;
  final Set<String> flavors;

  Image image({
    Key? key,
    AssetBundle? bundle,
    ImageFrameBuilder? frameBuilder,
    ImageErrorWidgetBuilder? errorBuilder,
    String? semanticLabel,
    bool excludeFromSemantics = false,
    double? scale,
    double? width,
    double? height,
    Color? color,
    Animation<double>? opacity,
    BlendMode? colorBlendMode,
    BoxFit? fit,
    AlignmentGeometry alignment = Alignment.center,
    ImageRepeat repeat = ImageRepeat.noRepeat,
    Rect? centerSlice,
    bool matchTextDirection = false,
    bool gaplessPlayback = false,
    bool isAntiAlias = false,
    String? package,
    FilterQuality filterQuality = FilterQuality.low,
    int? cacheWidth,
    int? cacheHeight,
  }) {
    return Image.asset(
      _assetName,
      key: key,
      bundle: bundle,
      frameBuilder: frameBuilder,
      errorBuilder: errorBuilder,
      semanticLabel: semanticLabel,
      excludeFromSemantics: excludeFromSemantics,
      scale: scale,
      width: width,
      height: height,
      color: color,
      opacity: opacity,
      colorBlendMode: colorBlendMode,
      fit: fit,
      alignment: alignment,
      repeat: repeat,
      centerSlice: centerSlice,
      matchTextDirection: matchTextDirection,
      gaplessPlayback: gaplessPlayback,
      isAntiAlias: isAntiAlias,
      package: package,
      filterQuality: filterQuality,
      cacheWidth: cacheWidth,
      cacheHeight: cacheHeight,
    );
  }

  ImageProvider provider({AssetBundle? bundle, String? package}) {
    return AssetImage(_assetName, bundle: bundle, package: package);
  }

  Widget custom({Key? key, required Widget Function(BuildContext context, String assetPath) builder}) {
    return Builder(key: key, builder: (context) => builder(context, _assetName));
  }

  String get path => _assetName;

  String get keyName => _assetName;
}

class LottieGenImage {
  const LottieGenImage(this._assetName);

  final String _assetName;

  LottieBuilder lottie({
    Animation<double>? controller,
    bool? animate,
    FrameRate? frameRate,
    bool? repeat,
    bool? reverse,
    LottieDelegates? delegates,
    LottieOptions? options,
    void Function(LottieComposition)? onLoaded,
    LottieImageProviderFactory? imageProviderFactory,
    Key? key,
    AssetBundle? bundle,
    LottieFrameBuilder? frameBuilder,
    ImageErrorWidgetBuilder? errorBuilder,
    double? width,
    double? height,
    BoxFit? fit,
    AlignmentGeometry? alignment,
    String? package,
    bool? addRepaintBoundary,
    FilterQuality? filterQuality,
    WarningCallback? onWarning,
  }) {
    return Lottie.asset(
      _assetName,
      controller: controller,
      animate: animate,
      frameRate: frameRate,
      repeat: repeat,
      reverse: reverse,
      delegates: delegates,
      options: options,
      onLoaded: onLoaded,
      imageProviderFactory: imageProviderFactory,
      key: key,
      bundle: bundle,
      frameBuilder: frameBuilder,
      errorBuilder: errorBuilder,
      width: width,
      height: height,
      fit: fit,
      alignment: alignment,
      package: package,
      addRepaintBoundary: addRepaintBoundary,
      filterQuality: filterQuality,
      onWarning: onWarning,
    );
  }

  Widget custom({Key? key, required Widget Function(BuildContext context, String assetPath) builder}) {
    return Builder(key: key, builder: (context) => builder(context, _assetName));
  }

  String get path => _assetName;

  String get keyName => _assetName;
}
