364 lines
9.9 KiB
Dart
364 lines
9.9 KiB
Dart
// dart format width=80
|
|
|
|
/// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
/// *****************************************************
|
|
/// FlutterGen
|
|
/// *****************************************************
|
|
|
|
// coverage:ignore-file
|
|
// ignore_for_file: type=lint
|
|
// ignore_for_file: deprecated_member_use,directives_ordering,implicit_dynamic_list_literal,unnecessary_import
|
|
|
|
import 'package:flutter/widgets.dart';
|
|
|
|
class $AssetsIconsGen {
|
|
const $AssetsIconsGen();
|
|
|
|
/// File path: assets/icons/SE.png
|
|
AssetGenImage get se => const AssetGenImage('assets/icons/SE.png');
|
|
|
|
/// File path: assets/icons/approve.svg
|
|
String get approve => 'assets/icons/approve.svg';
|
|
|
|
/// File path: assets/icons/arrow-circle-left.svg
|
|
String get arrowCircleLeft => 'assets/icons/arrow-circle-left.svg';
|
|
|
|
/// File path: assets/icons/arrow-circle-right.svg
|
|
String get arrowCircleRight => 'assets/icons/arrow-circle-right.svg';
|
|
|
|
/// File path: assets/icons/arrow-down.svg
|
|
String get arrowDown => 'assets/icons/arrow-down.svg';
|
|
|
|
/// File path: assets/icons/arrow-left-small.svg
|
|
String get arrowLeftSmall => 'assets/icons/arrow-left-small.svg';
|
|
|
|
/// File path: assets/icons/arrow-right-small.svg
|
|
String get arrowRightSmall => 'assets/icons/arrow-right-small.svg';
|
|
|
|
/// File path: assets/icons/arrow-right.svg
|
|
String get arrowRight => 'assets/icons/arrow-right.svg';
|
|
|
|
/// File path: assets/icons/arrow-up.svg
|
|
String get arrowUp => 'assets/icons/arrow-up.svg';
|
|
|
|
/// File path: assets/icons/arrow_down_small.svg
|
|
String get arrowDownSmall => 'assets/icons/arrow_down_small.svg';
|
|
|
|
/// File path: assets/icons/arrows.svg
|
|
String get arrows => 'assets/icons/arrows.svg';
|
|
|
|
/// File path: assets/icons/calendar.svg
|
|
String get calendar => 'assets/icons/calendar.svg';
|
|
|
|
/// File path: assets/icons/clipboard-text.svg
|
|
String get clipboardText => 'assets/icons/clipboard-text.svg';
|
|
|
|
/// File path: assets/icons/close-circle.svg
|
|
String get closeCircle => 'assets/icons/close-circle.svg';
|
|
|
|
/// File path: assets/icons/danger-fill.svg
|
|
String get dangerFill => 'assets/icons/danger-fill.svg';
|
|
|
|
/// File path: assets/icons/danger.svg
|
|
String get danger => 'assets/icons/danger.svg';
|
|
|
|
/// File path: assets/icons/dislike.svg
|
|
String get dislike => 'assets/icons/dislike.svg';
|
|
|
|
/// File path: assets/icons/edit.svg
|
|
String get edit => 'assets/icons/edit.svg';
|
|
|
|
/// File path: assets/icons/filter.svg
|
|
String get filter => 'assets/icons/filter.svg';
|
|
|
|
/// File path: assets/icons/home.svg
|
|
String get home => 'assets/icons/home.svg';
|
|
|
|
/// File path: assets/icons/home_active.svg
|
|
String get homeActive => 'assets/icons/home_active.svg';
|
|
|
|
/// File path: assets/icons/icon_contracts.svg
|
|
String get iconContracts => 'assets/icons/icon_contracts.svg';
|
|
|
|
/// File path: assets/icons/like.svg
|
|
String get like => 'assets/icons/like.svg';
|
|
|
|
/// File path: assets/icons/location.svg
|
|
String get location => 'assets/icons/location.svg';
|
|
|
|
/// File path: assets/icons/logo_big.svg
|
|
String get logoBig => 'assets/icons/logo_big.svg';
|
|
|
|
/// File path: assets/icons/logo_small.svg
|
|
String get logoSmall => 'assets/icons/logo_small.svg';
|
|
|
|
/// File path: assets/icons/menu.svg
|
|
String get menu => 'assets/icons/menu.svg';
|
|
|
|
/// File path: assets/icons/moon.svg
|
|
String get moon => 'assets/icons/moon.svg';
|
|
|
|
/// File path: assets/icons/notification.svg
|
|
String get notification => 'assets/icons/notification.svg';
|
|
|
|
/// File path: assets/icons/notify_icon.svg
|
|
String get notifyIcon => 'assets/icons/notify_icon.svg';
|
|
|
|
/// File path: assets/icons/notify_icon_active.svg
|
|
String get notifyIconActive => 'assets/icons/notify_icon_active.svg';
|
|
|
|
/// File path: assets/icons/profile-circle.svg
|
|
String get profileCircle => 'assets/icons/profile-circle.svg';
|
|
|
|
/// File path: assets/icons/profile-circle_active.svg
|
|
String get profileCircleActive => 'assets/icons/profile-circle_active.svg';
|
|
|
|
/// File path: assets/icons/shield.svg
|
|
String get shield => 'assets/icons/shield.svg';
|
|
|
|
/// File path: assets/icons/sun.svg
|
|
String get sun => 'assets/icons/sun.svg';
|
|
|
|
/// File path: assets/icons/task-square_active.svg
|
|
String get taskSquareActive => 'assets/icons/task-square_active.svg';
|
|
|
|
/// File path: assets/icons/task_square.svg
|
|
String get taskSquare => 'assets/icons/task_square.svg';
|
|
|
|
/// File path: assets/icons/tenderLogo.png
|
|
AssetGenImage get tenderLogoPng =>
|
|
const AssetGenImage('assets/icons/tenderLogo.png');
|
|
|
|
/// File path: assets/icons/tenderLogo.svg
|
|
String get tenderLogoSvg => 'assets/icons/tenderLogo.svg';
|
|
|
|
/// File path: assets/icons/thumb.svg
|
|
String get thumb => 'assets/icons/thumb.svg';
|
|
|
|
/// File path: assets/icons/thumb_like.svg
|
|
String get thumbLike => 'assets/icons/thumb_like.svg';
|
|
|
|
/// File path: assets/icons/tick-circle.svg
|
|
String get tickCircleSvg => 'assets/icons/tick-circle.svg';
|
|
|
|
/// File path: assets/icons/tick_circle.svg
|
|
String get tickCircleSvg_ => 'assets/icons/tick_circle.svg';
|
|
|
|
/// File path: assets/icons/tick.svg
|
|
String get tick => 'assets/icons/tick.svg';
|
|
|
|
/// File path: assets/icons/trailing_icon.svg
|
|
String get trailingIcon => 'assets/icons/trailing_icon.svg';
|
|
|
|
/// File path: assets/icons/trash.svg
|
|
String get trash => 'assets/icons/trash.svg';
|
|
|
|
/// File path: assets/icons/upload_file.svg
|
|
String get uploadFile => 'assets/icons/upload_file.svg';
|
|
|
|
/// List of all assets
|
|
List<dynamic> get values => [
|
|
se,
|
|
approve,
|
|
arrowCircleLeft,
|
|
arrowCircleRight,
|
|
arrowDown,
|
|
arrowLeftSmall,
|
|
arrowRightSmall,
|
|
arrowRight,
|
|
arrowUp,
|
|
arrowDownSmall,
|
|
arrows,
|
|
calendar,
|
|
clipboardText,
|
|
closeCircle,
|
|
dangerFill,
|
|
danger,
|
|
dislike,
|
|
edit,
|
|
filter,
|
|
home,
|
|
homeActive,
|
|
iconContracts,
|
|
like,
|
|
location,
|
|
logoBig,
|
|
logoSmall,
|
|
menu,
|
|
moon,
|
|
notification,
|
|
notifyIcon,
|
|
notifyIconActive,
|
|
profileCircle,
|
|
profileCircleActive,
|
|
shield,
|
|
sun,
|
|
taskSquareActive,
|
|
taskSquare,
|
|
tenderLogoPng,
|
|
tenderLogoSvg,
|
|
thumb,
|
|
thumbLike,
|
|
tickCircleSvg,
|
|
tickCircleSvg_,
|
|
tick,
|
|
trailingIcon,
|
|
trash,
|
|
uploadFile,
|
|
];
|
|
}
|
|
|
|
class $AssetsPngsGen {
|
|
const $AssetsPngsGen();
|
|
|
|
/// File path: assets/pngs/app_logo.png
|
|
AssetGenImage get appLogo => const AssetGenImage('assets/pngs/app_logo.png');
|
|
|
|
/// File path: assets/pngs/forgot_password.png
|
|
AssetGenImage get forgotPassword =>
|
|
const AssetGenImage('assets/pngs/forgot_password.png');
|
|
|
|
/// File path: assets/pngs/logo.png
|
|
AssetGenImage get logo => const AssetGenImage('assets/pngs/logo.png');
|
|
|
|
/// File path: assets/pngs/web_login_image.png
|
|
AssetGenImage get webLoginImage =>
|
|
const AssetGenImage('assets/pngs/web_login_image.png');
|
|
|
|
/// List of all assets
|
|
List<AssetGenImage> get values => [
|
|
appLogo,
|
|
forgotPassword,
|
|
logo,
|
|
webLoginImage,
|
|
];
|
|
}
|
|
|
|
class $AssetsSvgsGen {
|
|
const $AssetsSvgsGen();
|
|
|
|
/// File path: assets/svgs/arrow_left.svg
|
|
String get arrowLeft => 'assets/svgs/arrow_left.svg';
|
|
|
|
/// File path: assets/svgs/export.svg
|
|
String get export => 'assets/svgs/export.svg';
|
|
|
|
/// File path: assets/svgs/password_icon.svg
|
|
String get passwordIcon => 'assets/svgs/password_icon.svg';
|
|
|
|
/// File path: assets/svgs/password_visibility.svg
|
|
String get passwordVisibility => 'assets/svgs/password_visibility.svg';
|
|
|
|
/// File path: assets/svgs/password_visibility_off.svg
|
|
String get passwordVisibilityOff => 'assets/svgs/password_visibility_off.svg';
|
|
|
|
/// File path: assets/svgs/user_icon.svg
|
|
String get userIcon => 'assets/svgs/user_icon.svg';
|
|
|
|
/// List of all assets
|
|
List<String> get values => [
|
|
arrowLeft,
|
|
export,
|
|
passwordIcon,
|
|
passwordVisibility,
|
|
passwordVisibilityOff,
|
|
userIcon,
|
|
];
|
|
}
|
|
|
|
class Assets {
|
|
const Assets._();
|
|
|
|
static const $AssetsIconsGen icons = $AssetsIconsGen();
|
|
static const $AssetsPngsGen pngs = $AssetsPngsGen();
|
|
static const $AssetsSvgsGen svgs = $AssetsSvgsGen();
|
|
}
|
|
|
|
class AssetGenImage {
|
|
const AssetGenImage(
|
|
this._assetName, {
|
|
this.size,
|
|
this.flavors = const {},
|
|
this.animation,
|
|
});
|
|
|
|
final String _assetName;
|
|
|
|
final Size? size;
|
|
final Set<String> flavors;
|
|
final AssetGenImageAnimation? animation;
|
|
|
|
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 AssetGenImageAnimation {
|
|
const AssetGenImageAnimation({
|
|
required this.isAnimation,
|
|
required this.duration,
|
|
required this.frames,
|
|
});
|
|
|
|
final bool isAnimation;
|
|
final Duration duration;
|
|
final int frames;
|
|
}
|