-
-
Notifications
You must be signed in to change notification settings - Fork 142
/
assets_no_integrations.gen.dart
171 lines (136 loc) · 4.58 KB
/
assets_no_integrations.gen.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
/// *****************************************************
// coverage:ignore-file
// ignore_for_file: type=lint
// ignore_for_file: directives_ordering,unnecessary_import
import 'package:flutter/widgets.dart';
class $PicturesGen {
const $PicturesGen();
/// File path: pictures/chip5.jpg
AssetGenImage get chip5 => const AssetGenImage('pictures/chip5.jpg');
/// List of all assets
List<AssetGenImage> get values => [chip5];
}
class $AssetsImagesGen {
const $AssetsImagesGen();
/// File path: assets/images/chip1.jpg
AssetGenImage get chip1 => const AssetGenImage('assets/images/chip1.jpg');
/// File path: assets/images/chip2.jpg
AssetGenImage get chip2 => const AssetGenImage('assets/images/chip2.jpg');
$AssetsImagesChip3Gen get chip3 => const $AssetsImagesChip3Gen();
$AssetsImagesChip4Gen get chip4 => const $AssetsImagesChip4Gen();
$AssetsImagesIconsGen get icons => const $AssetsImagesIconsGen();
/// File path: assets/images/logo.png
AssetGenImage get logo => const AssetGenImage('assets/images/logo.png');
/// File path: assets/images/profile.jpg
AssetGenImage get profileJpg =>
const AssetGenImage('assets/images/profile.jpg');
/// File path: assets/images/profile.png
AssetGenImage get profilePng =>
const AssetGenImage('assets/images/profile.png');
/// List of all assets
List<AssetGenImage> get values =>
[chip1, chip2, logo, profileJpg, profilePng];
}
class $AssetsJsonGen {
const $AssetsJsonGen();
/// File path: assets/json/fruits.json
String get fruits => 'assets/json/fruits.json';
/// List of all assets
List<String> get values => [fruits];
}
class $AssetsImagesChip3Gen {
const $AssetsImagesChip3Gen();
/// File path: assets/images/chip3/chip3.jpg
AssetGenImage get chip3 =>
const AssetGenImage('assets/images/chip3/chip3.jpg');
/// List of all assets
List<AssetGenImage> get values => [chip3];
}
class $AssetsImagesChip4Gen {
const $AssetsImagesChip4Gen();
/// File path: assets/images/chip4/chip4.jpg
AssetGenImage get chip4 =>
const AssetGenImage('assets/images/chip4/chip4.jpg');
/// List of all assets
List<AssetGenImage> get values => [chip4];
}
class $AssetsImagesIconsGen {
const $AssetsImagesIconsGen();
/// File path: assets/images/icons/dart@test.svg
String get dartTest => 'assets/images/icons/dart@test.svg';
/// File path: assets/images/icons/fuchsia.svg
String get fuchsia => 'assets/images/icons/fuchsia.svg';
/// File path: assets/images/icons/kmm.svg
String get kmm => 'assets/images/icons/kmm.svg';
/// File path: assets/images/icons/paint.svg
String get paint => 'assets/images/icons/paint.svg';
/// List of all assets
List<String> get values => [dartTest, fuchsia, kmm, paint];
}
class Assets {
Assets._();
static const $AssetsImagesGen images = $AssetsImagesGen();
static const $AssetsJsonGen json = $AssetsJsonGen();
static const $PicturesGen pictures = $PicturesGen();
}
class AssetGenImage {
const AssetGenImage(this._assetName);
final String _assetName;
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,
);
}
String get path => _assetName;
String get keyName => _assetName;
}