home logic added
This commit is contained in:
@@ -0,0 +1,247 @@
|
||||
// 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/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-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/arrows.svg
|
||||
String get arrows => 'assets/icons/arrows.svg';
|
||||
|
||||
/// File path: assets/icons/close-circle.svg
|
||||
String get closeCircle => 'assets/icons/close-circle.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/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/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/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/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/tick-circle.svg
|
||||
String get tickCircle => 'assets/icons/tick-circle.svg';
|
||||
|
||||
/// List of all assets
|
||||
List<dynamic> get values => [
|
||||
se,
|
||||
arrowCircleLeft,
|
||||
arrowCircleRight,
|
||||
arrowLeftSmall,
|
||||
arrowRightSmall,
|
||||
arrowRight,
|
||||
arrows,
|
||||
closeCircle,
|
||||
dislike,
|
||||
edit,
|
||||
home,
|
||||
homeActive,
|
||||
like,
|
||||
location,
|
||||
profileCircle,
|
||||
profileCircleActive,
|
||||
shield,
|
||||
taskSquareActive,
|
||||
taskSquare,
|
||||
tenderLogoPng,
|
||||
tenderLogoSvg,
|
||||
thumb,
|
||||
tickCircle,
|
||||
];
|
||||
}
|
||||
|
||||
class $AssetsPngsGen {
|
||||
const $AssetsPngsGen();
|
||||
|
||||
/// File path: assets/pngs/logo.png
|
||||
AssetGenImage get logo => const AssetGenImage('assets/pngs/logo.png');
|
||||
|
||||
/// List of all assets
|
||||
List<AssetGenImage> get values => [logo];
|
||||
}
|
||||
|
||||
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/user_icon.svg
|
||||
String get userIcon => 'assets/svgs/user_icon.svg';
|
||||
|
||||
/// List of all assets
|
||||
List<String> get values => [
|
||||
arrowLeft,
|
||||
export,
|
||||
passwordIcon,
|
||||
passwordVisibility,
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user