proxybuy-flutter/lib/gen/assets.gen.dart

261 lines
7.2 KiB
Dart

/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
/// *****************************************************
// coverage:ignore-file
// ignore_for_file: type=lint
// ignore_for_file: directives_ordering,unnecessary_import,implicit_dynamic_list_literal,deprecated_member_use
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart' as _svg;
import 'package:vector_graphics/vector_graphics.dart' as _vg;
class $AssetsIconsGen {
const $AssetsIconsGen();
/// File path: assets/icons/Next Button.svg
SvgGenImage get nextButton =>
const SvgGenImage('assets/icons/Next Button.svg');
/// File path: assets/icons/arrow-down.svg
SvgGenImage get arrowDown => const SvgGenImage('assets/icons/arrow-down.svg');
/// File path: assets/icons/arrow-left.svg
SvgGenImage get arrowLeft => const SvgGenImage('assets/icons/arrow-left.svg');
/// File path: assets/icons/back.svg
SvgGenImage get back => const SvgGenImage('assets/icons/back.svg');
/// File path: assets/icons/clander.svg
SvgGenImage get clander => const SvgGenImage('assets/icons/clander.svg');
/// File path: assets/icons/location.svg
SvgGenImage get location => const SvgGenImage('assets/icons/location.svg');
/// File path: assets/icons/next.svg
SvgGenImage get next => const SvgGenImage('assets/icons/next.svg');
/// File path: assets/icons/ri_search-2-line.svg
SvgGenImage get riSearch2Line =>
const SvgGenImage('assets/icons/ri_search-2-line.svg');
/// File path: assets/icons/shopping-cart.svg
SvgGenImage get shoppingCart =>
const SvgGenImage('assets/icons/shopping-cart.svg');
/// File path: assets/icons/slide 2.svg
SvgGenImage get slide2 => const SvgGenImage('assets/icons/slide 2.svg');
/// File path: assets/icons/slide 3.svg
SvgGenImage get slide3 => const SvgGenImage('assets/icons/slide 3.svg');
/// File path: assets/icons/slides 1.svg
SvgGenImage get slides1 => const SvgGenImage('assets/icons/slides 1.svg');
/// File path: assets/icons/sort.svg
SvgGenImage get sort => const SvgGenImage('assets/icons/sort.svg');
/// List of all assets
List<SvgGenImage> get values => [
nextButton,
arrowDown,
arrowLeft,
back,
clander,
location,
next,
riSearch2Line,
shoppingCart,
slide2,
slide3,
slides1,
sort,
];
}
class $AssetsImagesGen {
const $AssetsImagesGen();
/// File path: assets/images/Frame.svg
SvgGenImage get frame => const SvgGenImage('assets/images/Frame.svg');
/// File path: assets/images/Google svg.svg
SvgGenImage get googleSvg =>
const SvgGenImage('assets/images/Google svg.svg');
/// File path: assets/images/logo.svg
SvgGenImage get logo => const SvgGenImage('assets/images/logo.svg');
/// File path: assets/images/onboarding3.svg
SvgGenImage get onboarding3 =>
const SvgGenImage('assets/images/onboarding3.svg');
/// File path: assets/images/ounboarding 1.svg
SvgGenImage get ounboarding1 =>
const SvgGenImage('assets/images/ounboarding 1.svg');
/// File path: assets/images/usa.png
AssetGenImage get usa => const AssetGenImage('assets/images/usa.png');
/// List of all assets
List<dynamic> get values => [
frame,
googleSvg,
logo,
onboarding3,
ounboarding1,
usa,
];
}
class Assets {
const Assets._();
static const $AssetsIconsGen icons = $AssetsIconsGen();
static const $AssetsImagesGen images = $AssetsImagesGen();
}
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 = true,
bool isAntiAlias = false,
String? package,
FilterQuality filterQuality = FilterQuality.medium,
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);
}
String get path => _assetName;
String get keyName => _assetName;
}
class SvgGenImage {
const SvgGenImage(this._assetName, {this.size, this.flavors = const {}})
: _isVecFormat = false;
const SvgGenImage.vec(this._assetName, {this.size, this.flavors = const {}})
: _isVecFormat = true;
final String _assetName;
final Size? size;
final Set<String> flavors;
final bool _isVecFormat;
_svg.SvgPicture svg({
Key? key,
bool matchTextDirection = false,
AssetBundle? bundle,
String? package,
double? width,
double? height,
BoxFit fit = BoxFit.contain,
AlignmentGeometry alignment = Alignment.center,
bool allowDrawingOutsideViewBox = false,
WidgetBuilder? placeholderBuilder,
String? semanticsLabel,
bool excludeFromSemantics = false,
_svg.SvgTheme? theme,
ColorFilter? colorFilter,
Clip clipBehavior = Clip.hardEdge,
@deprecated Color? color,
@deprecated BlendMode colorBlendMode = BlendMode.srcIn,
@deprecated bool cacheColorFilter = false,
}) {
final _svg.BytesLoader loader;
if (_isVecFormat) {
loader = _vg.AssetBytesLoader(
_assetName,
assetBundle: bundle,
packageName: package,
);
} else {
loader = _svg.SvgAssetLoader(
_assetName,
assetBundle: bundle,
packageName: package,
theme: theme,
);
}
return _svg.SvgPicture(
loader,
key: key,
matchTextDirection: matchTextDirection,
width: width,
height: height,
fit: fit,
alignment: alignment,
allowDrawingOutsideViewBox: allowDrawingOutsideViewBox,
placeholderBuilder: placeholderBuilder,
semanticsLabel: semanticsLabel,
excludeFromSemantics: excludeFromSemantics,
colorFilter:
colorFilter ??
(color == null ? null : ColorFilter.mode(color, colorBlendMode)),
clipBehavior: clipBehavior,
cacheColorFilter: cacheColorFilter,
);
}
String get path => _assetName;
String get keyName => _assetName;
}