469 lines
14 KiB
Dart
469 lines
14 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/Arrow - Right 2.svg
|
|
SvgGenImage get arrowRight2 =>
|
|
const SvgGenImage('assets/icons/Arrow - Right 2.svg');
|
|
|
|
/// File path: assets/icons/CatBack.svg
|
|
SvgGenImage get catBack => const SvgGenImage('assets/icons/CatBack.svg');
|
|
|
|
/// File path: assets/icons/Cinema.svg
|
|
SvgGenImage get cinema => const SvgGenImage('assets/icons/Cinema.svg');
|
|
|
|
/// File path: assets/icons/Coffee.svg
|
|
SvgGenImage get coffee => const SvgGenImage('assets/icons/Coffee.svg');
|
|
|
|
/// File path: assets/icons/Ellipse 1.svg
|
|
SvgGenImage get ellipse1 => const SvgGenImage('assets/icons/Ellipse 1.svg');
|
|
|
|
/// File path: assets/icons/Gold.svg
|
|
SvgGenImage get gold => const SvgGenImage('assets/icons/Gold.svg');
|
|
|
|
/// File path: assets/icons/Google svg.svg
|
|
SvgGenImage get googleSvg => const SvgGenImage('assets/icons/Google svg.svg');
|
|
|
|
/// File path: assets/icons/Line 2.svg
|
|
SvgGenImage get line2 => const SvgGenImage('assets/icons/Line 2.svg');
|
|
|
|
/// File path: assets/icons/LogoWithName.svg
|
|
SvgGenImage get logoWithName =>
|
|
const SvgGenImage('assets/icons/LogoWithName.svg');
|
|
|
|
/// File path: assets/icons/Makeup.svg
|
|
SvgGenImage get makeup => const SvgGenImage('assets/icons/Makeup.svg');
|
|
|
|
/// File path: assets/icons/Mobile.svg
|
|
SvgGenImage get mobile => const SvgGenImage('assets/icons/Mobile.svg');
|
|
|
|
/// File path: assets/icons/Pizza.svg
|
|
SvgGenImage get pizza => const SvgGenImage('assets/icons/Pizza.svg');
|
|
|
|
/// File path: assets/icons/Restrurant.svg
|
|
SvgGenImage get restrurant =>
|
|
const SvgGenImage('assets/icons/Restrurant.svg');
|
|
|
|
/// File path: assets/icons/Shoes.svg
|
|
SvgGenImage get shoes => const SvgGenImage('assets/icons/Shoes.svg');
|
|
|
|
/// File path: assets/icons/Tria.svg
|
|
SvgGenImage get tria => const SvgGenImage('assets/icons/Tria.svg');
|
|
|
|
/// File path: assets/icons/Tshirt.svg
|
|
SvgGenImage get tshirt => const SvgGenImage('assets/icons/Tshirt.svg');
|
|
|
|
/// File path: assets/icons/Vector.svg
|
|
SvgGenImage get vector => const SvgGenImage('assets/icons/Vector.svg');
|
|
|
|
/// File path: assets/icons/addImg.svg
|
|
SvgGenImage get addImg => const SvgGenImage('assets/icons/addImg.svg');
|
|
|
|
/// File path: assets/icons/arayesh.svg
|
|
SvgGenImage get arayesh => const SvgGenImage('assets/icons/arayesh.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/arrow-up.svg
|
|
SvgGenImage get arrowUp => const SvgGenImage('assets/icons/arrow-up.svg');
|
|
|
|
/// File path: assets/icons/back.svg
|
|
SvgGenImage get back => const SvgGenImage('assets/icons/back.svg');
|
|
|
|
/// File path: assets/icons/backArrow.svg
|
|
SvgGenImage get backArrow => const SvgGenImage('assets/icons/backArrow.svg');
|
|
|
|
/// File path: assets/icons/camera.svg
|
|
SvgGenImage get camera => const SvgGenImage('assets/icons/camera.svg');
|
|
|
|
/// File path: assets/icons/card-pos.svg
|
|
SvgGenImage get cardPos => const SvgGenImage('assets/icons/card-pos.svg');
|
|
|
|
/// File path: assets/icons/cinama.svg
|
|
SvgGenImage get cinama => const SvgGenImage('assets/icons/cinama.svg');
|
|
|
|
/// File path: assets/icons/clock.svg
|
|
SvgGenImage get clock => const SvgGenImage('assets/icons/clock.svg');
|
|
|
|
/// File path: assets/icons/clockProduct.svg
|
|
SvgGenImage get clockProduct =>
|
|
const SvgGenImage('assets/icons/clockProduct.svg');
|
|
|
|
/// File path: assets/icons/coffeeshop.svg
|
|
SvgGenImage get coffeeshop =>
|
|
const SvgGenImage('assets/icons/coffeeshop.svg');
|
|
|
|
/// File path: assets/icons/digital.svg
|
|
SvgGenImage get digital => const SvgGenImage('assets/icons/digital.svg');
|
|
|
|
/// File path: assets/icons/edit.svg
|
|
SvgGenImage get edit => const SvgGenImage('assets/icons/edit.svg');
|
|
|
|
/// File path: assets/icons/error.svg
|
|
SvgGenImage get error => const SvgGenImage('assets/icons/error.svg');
|
|
|
|
/// File path: assets/icons/fastfood.svg
|
|
SvgGenImage get fastfood => const SvgGenImage('assets/icons/fastfood.svg');
|
|
|
|
/// File path: assets/icons/gallery-add.svg
|
|
SvgGenImage get galleryAdd =>
|
|
const SvgGenImage('assets/icons/gallery-add.svg');
|
|
|
|
/// File path: assets/icons/global-search.svg
|
|
SvgGenImage get globalSearch =>
|
|
const SvgGenImage('assets/icons/global-search.svg');
|
|
|
|
/// File path: assets/icons/kafsh.svg
|
|
SvgGenImage get kafsh => const SvgGenImage('assets/icons/kafsh.svg');
|
|
|
|
/// File path: assets/icons/location.svg
|
|
SvgGenImage get location => const SvgGenImage('assets/icons/location.svg');
|
|
|
|
/// File path: assets/icons/logo.svg
|
|
SvgGenImage get logo => const SvgGenImage('assets/icons/logo.svg');
|
|
|
|
/// File path: assets/icons/map.svg
|
|
SvgGenImage get map => const SvgGenImage('assets/icons/map.svg');
|
|
|
|
/// File path: assets/icons/notification.svg
|
|
SvgGenImage get notification =>
|
|
const SvgGenImage('assets/icons/notification.svg');
|
|
|
|
/// File path: assets/icons/pooshak.svg
|
|
SvgGenImage get pooshak => const SvgGenImage('assets/icons/pooshak.svg');
|
|
|
|
/// File path: assets/icons/receipt-disscount.svg
|
|
SvgGenImage get receiptDisscount =>
|
|
const SvgGenImage('assets/icons/receipt-disscount.svg');
|
|
|
|
/// File path: assets/icons/resturan.svg
|
|
SvgGenImage get resturan => const SvgGenImage('assets/icons/resturan.svg');
|
|
|
|
/// File path: assets/icons/routing.svg
|
|
SvgGenImage get routing => const SvgGenImage('assets/icons/routing.svg');
|
|
|
|
/// File path: assets/icons/scan-barcode.svg
|
|
SvgGenImage get scanBarcode =>
|
|
const SvgGenImage('assets/icons/scan-barcode.svg');
|
|
|
|
/// File path: assets/icons/shop.svg
|
|
SvgGenImage get shop => const SvgGenImage('assets/icons/shop.svg');
|
|
|
|
/// File path: assets/icons/shopping-cart.svg
|
|
SvgGenImage get shoppingCart =>
|
|
const SvgGenImage('assets/icons/shopping-cart.svg');
|
|
|
|
/// File path: assets/icons/star fill.svg
|
|
SvgGenImage get starFill => const SvgGenImage('assets/icons/star fill.svg');
|
|
|
|
/// File path: assets/icons/star half.svg
|
|
SvgGenImage get starHalf => const SvgGenImage('assets/icons/star half.svg');
|
|
|
|
/// File path: assets/icons/star.svg
|
|
SvgGenImage get star => const SvgGenImage('assets/icons/star.svg');
|
|
|
|
/// File path: assets/icons/star2.svg
|
|
SvgGenImage get star2 => const SvgGenImage('assets/icons/star2.svg');
|
|
|
|
/// File path: assets/icons/tala.svg
|
|
SvgGenImage get tala => const SvgGenImage('assets/icons/tala.svg');
|
|
|
|
/// File path: assets/icons/teria.svg
|
|
SvgGenImage get teria => const SvgGenImage('assets/icons/teria.svg');
|
|
|
|
/// File path: assets/icons/tick-circle.svg
|
|
SvgGenImage get tickCircle =>
|
|
const SvgGenImage('assets/icons/tick-circle.svg');
|
|
|
|
/// File path: assets/icons/tick-square.svg
|
|
SvgGenImage get tickSquare =>
|
|
const SvgGenImage('assets/icons/tick-square.svg');
|
|
|
|
/// File path: assets/icons/tickPb.svg
|
|
SvgGenImage get tickPb => const SvgGenImage('assets/icons/tickPb.svg');
|
|
|
|
/// File path: assets/icons/ticket-discount.svg
|
|
SvgGenImage get ticketDiscount =>
|
|
const SvgGenImage('assets/icons/ticket-discount.svg');
|
|
|
|
/// File path: assets/icons/timer-pause.svg
|
|
SvgGenImage get timerPause =>
|
|
const SvgGenImage('assets/icons/timer-pause.svg');
|
|
|
|
/// File path: assets/icons/volume-high.svg
|
|
SvgGenImage get volumeHigh =>
|
|
const SvgGenImage('assets/icons/volume-high.svg');
|
|
|
|
/// File path: assets/icons/warning-2.svg
|
|
SvgGenImage get warning2 => const SvgGenImage('assets/icons/warning-2.svg');
|
|
|
|
/// List of all assets
|
|
List<SvgGenImage> get values => [
|
|
arrowRight2,
|
|
catBack,
|
|
cinema,
|
|
coffee,
|
|
ellipse1,
|
|
gold,
|
|
googleSvg,
|
|
line2,
|
|
logoWithName,
|
|
makeup,
|
|
mobile,
|
|
pizza,
|
|
restrurant,
|
|
shoes,
|
|
tria,
|
|
tshirt,
|
|
vector,
|
|
addImg,
|
|
arayesh,
|
|
arrowDown,
|
|
arrowLeft,
|
|
arrowUp,
|
|
back,
|
|
backArrow,
|
|
camera,
|
|
cardPos,
|
|
cinama,
|
|
clock,
|
|
clockProduct,
|
|
coffeeshop,
|
|
digital,
|
|
edit,
|
|
error,
|
|
fastfood,
|
|
galleryAdd,
|
|
globalSearch,
|
|
kafsh,
|
|
location,
|
|
logo,
|
|
map,
|
|
notification,
|
|
pooshak,
|
|
receiptDisscount,
|
|
resturan,
|
|
routing,
|
|
scanBarcode,
|
|
shop,
|
|
shoppingCart,
|
|
starFill,
|
|
starHalf,
|
|
star,
|
|
star2,
|
|
tala,
|
|
teria,
|
|
tickCircle,
|
|
tickSquare,
|
|
tickPb,
|
|
ticketDiscount,
|
|
timerPause,
|
|
volumeHigh,
|
|
warning2,
|
|
];
|
|
}
|
|
|
|
class $AssetsImagesGen {
|
|
const $AssetsImagesGen();
|
|
|
|
/// File path: assets/images/empty home.svg
|
|
SvgGenImage get emptyHome =>
|
|
const SvgGenImage('assets/images/empty home.svg');
|
|
|
|
/// File path: assets/images/onboarding1.png
|
|
AssetGenImage get onboarding1 =>
|
|
const AssetGenImage('assets/images/onboarding1.png');
|
|
|
|
/// File path: assets/images/onboarding2.png
|
|
AssetGenImage get onboarding2 =>
|
|
const AssetGenImage('assets/images/onboarding2.png');
|
|
|
|
/// File path: assets/images/onboarding3.png
|
|
AssetGenImage get onboarding3 =>
|
|
const AssetGenImage('assets/images/onboarding3.png');
|
|
|
|
/// File path: assets/images/onboarding4.png
|
|
AssetGenImage get onboarding4 =>
|
|
const AssetGenImage('assets/images/onboarding4.png');
|
|
|
|
/// File path: assets/images/userinfo.png
|
|
AssetGenImage get userinfo =>
|
|
const AssetGenImage('assets/images/userinfo.png');
|
|
|
|
/// List of all assets
|
|
List<dynamic> get values => [
|
|
emptyHome,
|
|
onboarding1,
|
|
onboarding2,
|
|
onboarding3,
|
|
onboarding4,
|
|
userinfo,
|
|
];
|
|
}
|
|
|
|
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;
|
|
}
|