370 lines
11 KiB
Dart
370 lines
11 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/widgets.dart';
|
|
|
|
class $AssetsImagesGen {
|
|
const $AssetsImagesGen();
|
|
|
|
/// File path: assets/images/Match3Clover.png
|
|
AssetGenImage get match3Clover =>
|
|
const AssetGenImage('assets/images/Match3Clover.png');
|
|
|
|
/// File path: assets/images/Match3Heart.png
|
|
AssetGenImage get match3Heart =>
|
|
const AssetGenImage('assets/images/Match3Heart.png');
|
|
|
|
/// File path: assets/images/Match3Moon.png
|
|
AssetGenImage get match3Moon =>
|
|
const AssetGenImage('assets/images/Match3Moon.png');
|
|
|
|
/// File path: assets/images/Match3Star.png
|
|
AssetGenImage get match3Star =>
|
|
const AssetGenImage('assets/images/Match3Star.png');
|
|
|
|
/// File path: assets/images/Match3Water.png
|
|
AssetGenImage get match3Water =>
|
|
const AssetGenImage('assets/images/Match3Water.png');
|
|
|
|
/// File path: assets/images/button_back.png
|
|
AssetGenImage get buttonBack =>
|
|
const AssetGenImage('assets/images/button_back.png');
|
|
|
|
/// File path: assets/images/button_ok.png
|
|
AssetGenImage get buttonOk =>
|
|
const AssetGenImage('assets/images/button_ok.png');
|
|
|
|
/// File path: assets/images/button_play.png
|
|
AssetGenImage get buttonPlay =>
|
|
const AssetGenImage('assets/images/button_play.png');
|
|
|
|
/// File path: assets/images/button_rule.png
|
|
AssetGenImage get buttonRule =>
|
|
const AssetGenImage('assets/images/button_rule.png');
|
|
|
|
/// File path: assets/images/button_settings.png
|
|
AssetGenImage get buttonSettings =>
|
|
const AssetGenImage('assets/images/button_settings.png');
|
|
|
|
/// File path: assets/images/game_over.png
|
|
AssetGenImage get gameOver =>
|
|
const AssetGenImage('assets/images/game_over.png');
|
|
|
|
/// File path: assets/images/health_back.png
|
|
AssetGenImage get healthBack =>
|
|
const AssetGenImage('assets/images/health_back.png');
|
|
|
|
/// File path: assets/images/health_front.png
|
|
AssetGenImage get healthFront =>
|
|
const AssetGenImage('assets/images/health_front.png');
|
|
|
|
/// File path: assets/images/heart.png
|
|
AssetGenImage get heart => const AssetGenImage('assets/images/heart.png');
|
|
|
|
/// Directory path: assets/images/icons
|
|
$AssetsImagesIconsGen get icons => const $AssetsImagesIconsGen();
|
|
|
|
/// Directory path: assets/images/letters
|
|
$AssetsImagesLettersGen get letters => const $AssetsImagesLettersGen();
|
|
|
|
/// File path: assets/images/letters.png
|
|
AssetGenImage get lettersPng =>
|
|
const AssetGenImage('assets/images/letters.png');
|
|
|
|
/// File path: assets/images/letters_web.png
|
|
AssetGenImage get lettersWeb =>
|
|
const AssetGenImage('assets/images/letters_web.png');
|
|
|
|
/// File path: assets/images/level_button_background.png
|
|
AssetGenImage get levelButtonBackground =>
|
|
const AssetGenImage('assets/images/level_button_background.png');
|
|
|
|
/// File path: assets/images/oldMatch3Heart.png
|
|
AssetGenImage get oldMatch3Heart =>
|
|
const AssetGenImage('assets/images/oldMatch3Heart.png');
|
|
|
|
/// File path: assets/images/platform.png
|
|
AssetGenImage get platform =>
|
|
const AssetGenImage('assets/images/platform.png');
|
|
|
|
/// File path: assets/images/title.png
|
|
AssetGenImage get title => const AssetGenImage('assets/images/title.png');
|
|
|
|
/// List of all assets
|
|
List<AssetGenImage> get values => [
|
|
match3Clover,
|
|
match3Heart,
|
|
match3Moon,
|
|
match3Star,
|
|
match3Water,
|
|
buttonBack,
|
|
buttonOk,
|
|
buttonPlay,
|
|
buttonRule,
|
|
buttonSettings,
|
|
gameOver,
|
|
healthBack,
|
|
healthFront,
|
|
heart,
|
|
lettersPng,
|
|
lettersWeb,
|
|
levelButtonBackground,
|
|
oldMatch3Heart,
|
|
platform,
|
|
title
|
|
];
|
|
}
|
|
|
|
class $AssetsImagesIconsGen {
|
|
const $AssetsImagesIconsGen();
|
|
|
|
/// File path: assets/images/icons/back.png
|
|
AssetGenImage get back => const AssetGenImage('assets/images/icons/back.png');
|
|
|
|
/// File path: assets/images/icons/play.png
|
|
AssetGenImage get play => const AssetGenImage('assets/images/icons/play.png');
|
|
|
|
/// File path: assets/images/icons/restart.png
|
|
AssetGenImage get restart =>
|
|
const AssetGenImage('assets/images/icons/restart.png');
|
|
|
|
/// List of all assets
|
|
List<AssetGenImage> get values => [back, play, restart];
|
|
}
|
|
|
|
class $AssetsImagesLettersGen {
|
|
const $AssetsImagesLettersGen();
|
|
|
|
/// File path: assets/images/letters/icon_a.png
|
|
AssetGenImage get iconA =>
|
|
const AssetGenImage('assets/images/letters/icon_a.png');
|
|
|
|
/// File path: assets/images/letters/icon_b.png
|
|
AssetGenImage get iconB =>
|
|
const AssetGenImage('assets/images/letters/icon_b.png');
|
|
|
|
/// File path: assets/images/letters/icon_c.png
|
|
AssetGenImage get iconC =>
|
|
const AssetGenImage('assets/images/letters/icon_c.png');
|
|
|
|
/// File path: assets/images/letters/icon_d.png
|
|
AssetGenImage get iconD =>
|
|
const AssetGenImage('assets/images/letters/icon_d.png');
|
|
|
|
/// File path: assets/images/letters/icon_e.png
|
|
AssetGenImage get iconE =>
|
|
const AssetGenImage('assets/images/letters/icon_e.png');
|
|
|
|
/// File path: assets/images/letters/icon_f.png
|
|
AssetGenImage get iconF =>
|
|
const AssetGenImage('assets/images/letters/icon_f.png');
|
|
|
|
/// File path: assets/images/letters/icon_g.png
|
|
AssetGenImage get iconG =>
|
|
const AssetGenImage('assets/images/letters/icon_g.png');
|
|
|
|
/// File path: assets/images/letters/icon_h.png
|
|
AssetGenImage get iconH =>
|
|
const AssetGenImage('assets/images/letters/icon_h.png');
|
|
|
|
/// File path: assets/images/letters/icon_i.png
|
|
AssetGenImage get iconI =>
|
|
const AssetGenImage('assets/images/letters/icon_i.png');
|
|
|
|
/// File path: assets/images/letters/icon_j.png
|
|
AssetGenImage get iconJ =>
|
|
const AssetGenImage('assets/images/letters/icon_j.png');
|
|
|
|
/// File path: assets/images/letters/icon_k.png
|
|
AssetGenImage get iconK =>
|
|
const AssetGenImage('assets/images/letters/icon_k.png');
|
|
|
|
/// File path: assets/images/letters/icon_l.png
|
|
AssetGenImage get iconL =>
|
|
const AssetGenImage('assets/images/letters/icon_l.png');
|
|
|
|
/// File path: assets/images/letters/icon_m.png
|
|
AssetGenImage get iconM =>
|
|
const AssetGenImage('assets/images/letters/icon_m.png');
|
|
|
|
/// File path: assets/images/letters/icon_n.png
|
|
AssetGenImage get iconN =>
|
|
const AssetGenImage('assets/images/letters/icon_n.png');
|
|
|
|
/// File path: assets/images/letters/icon_o.png
|
|
AssetGenImage get iconO =>
|
|
const AssetGenImage('assets/images/letters/icon_o.png');
|
|
|
|
/// File path: assets/images/letters/icon_p.png
|
|
AssetGenImage get iconP =>
|
|
const AssetGenImage('assets/images/letters/icon_p.png');
|
|
|
|
/// File path: assets/images/letters/icon_q.png
|
|
AssetGenImage get iconQ =>
|
|
const AssetGenImage('assets/images/letters/icon_q.png');
|
|
|
|
/// File path: assets/images/letters/icon_r.png
|
|
AssetGenImage get iconR =>
|
|
const AssetGenImage('assets/images/letters/icon_r.png');
|
|
|
|
/// File path: assets/images/letters/icon_s.png
|
|
AssetGenImage get iconS =>
|
|
const AssetGenImage('assets/images/letters/icon_s.png');
|
|
|
|
/// File path: assets/images/letters/icon_t.png
|
|
AssetGenImage get iconT =>
|
|
const AssetGenImage('assets/images/letters/icon_t.png');
|
|
|
|
/// File path: assets/images/letters/icon_u.png
|
|
AssetGenImage get iconU =>
|
|
const AssetGenImage('assets/images/letters/icon_u.png');
|
|
|
|
/// File path: assets/images/letters/icon_v.png
|
|
AssetGenImage get iconV =>
|
|
const AssetGenImage('assets/images/letters/icon_v.png');
|
|
|
|
/// File path: assets/images/letters/icon_w.png
|
|
AssetGenImage get iconW =>
|
|
const AssetGenImage('assets/images/letters/icon_w.png');
|
|
|
|
/// File path: assets/images/letters/icon_x.png
|
|
AssetGenImage get iconX =>
|
|
const AssetGenImage('assets/images/letters/icon_x.png');
|
|
|
|
/// File path: assets/images/letters/icon_y.png
|
|
AssetGenImage get iconY =>
|
|
const AssetGenImage('assets/images/letters/icon_y.png');
|
|
|
|
/// File path: assets/images/letters/icon_z.png
|
|
AssetGenImage get iconZ =>
|
|
const AssetGenImage('assets/images/letters/icon_z.png');
|
|
|
|
/// List of all assets
|
|
List<AssetGenImage> get values => [
|
|
iconA,
|
|
iconB,
|
|
iconC,
|
|
iconD,
|
|
iconE,
|
|
iconF,
|
|
iconG,
|
|
iconH,
|
|
iconI,
|
|
iconJ,
|
|
iconK,
|
|
iconL,
|
|
iconM,
|
|
iconN,
|
|
iconO,
|
|
iconP,
|
|
iconQ,
|
|
iconR,
|
|
iconS,
|
|
iconT,
|
|
iconU,
|
|
iconV,
|
|
iconW,
|
|
iconX,
|
|
iconY,
|
|
iconZ
|
|
];
|
|
}
|
|
|
|
class Assets {
|
|
const Assets._();
|
|
|
|
static const String effect = 'assets/effect.mp3';
|
|
static const String go = 'assets/go.mp3';
|
|
static const $AssetsImagesGen images = $AssetsImagesGen();
|
|
static const String music = 'assets/music.mp3';
|
|
|
|
/// List of all assets
|
|
static List<String> get values => [effect, go, music];
|
|
}
|
|
|
|
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;
|
|
}
|