2021-01-30 14:11:41 +01:00
|
|
|
/// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
/// *****************************************************
|
|
|
|
/// FlutterGen
|
|
|
|
/// *****************************************************
|
|
|
|
|
|
|
|
import 'package:flutter/widgets.dart';
|
|
|
|
|
|
|
|
class Assets {
|
|
|
|
Assets._();
|
|
|
|
|
|
|
|
static const AssetGenImage appIcon = AssetGenImage('assets/app_icon.png');
|
|
|
|
}
|
|
|
|
|
|
|
|
class AssetGenImage extends AssetImage {
|
|
|
|
const AssetGenImage(String assetName)
|
|
|
|
: _assetName = assetName,
|
|
|
|
super(assetName);
|
|
|
|
final String _assetName;
|
|
|
|
|
|
|
|
Image image({
|
2021-04-09 00:11:44 +02:00
|
|
|
Key? key,
|
|
|
|
ImageFrameBuilder? frameBuilder,
|
|
|
|
ImageLoadingBuilder? loadingBuilder,
|
|
|
|
ImageErrorWidgetBuilder? errorBuilder,
|
|
|
|
String? semanticLabel,
|
2021-01-30 14:11:41 +01:00
|
|
|
bool excludeFromSemantics = false,
|
2021-04-09 00:11:44 +02:00
|
|
|
double? width,
|
|
|
|
double? height,
|
|
|
|
Color? color,
|
|
|
|
BlendMode? colorBlendMode,
|
|
|
|
BoxFit? fit,
|
2021-01-30 14:11:41 +01:00
|
|
|
AlignmentGeometry alignment = Alignment.center,
|
|
|
|
ImageRepeat repeat = ImageRepeat.noRepeat,
|
2021-04-09 00:11:44 +02:00
|
|
|
Rect? centerSlice,
|
2021-01-30 14:11:41 +01:00
|
|
|
bool matchTextDirection = false,
|
|
|
|
bool gaplessPlayback = false,
|
|
|
|
bool isAntiAlias = false,
|
|
|
|
FilterQuality filterQuality = FilterQuality.low,
|
|
|
|
}) {
|
|
|
|
return Image(
|
|
|
|
key: key,
|
|
|
|
image: this,
|
|
|
|
frameBuilder: frameBuilder,
|
|
|
|
loadingBuilder: loadingBuilder,
|
|
|
|
errorBuilder: errorBuilder,
|
|
|
|
semanticLabel: semanticLabel,
|
|
|
|
excludeFromSemantics: excludeFromSemantics,
|
|
|
|
width: width,
|
|
|
|
height: height,
|
|
|
|
color: color,
|
|
|
|
colorBlendMode: colorBlendMode,
|
|
|
|
fit: fit,
|
|
|
|
alignment: alignment,
|
|
|
|
repeat: repeat,
|
|
|
|
centerSlice: centerSlice,
|
|
|
|
matchTextDirection: matchTextDirection,
|
|
|
|
gaplessPlayback: gaplessPlayback,
|
|
|
|
isAntiAlias: isAntiAlias,
|
|
|
|
filterQuality: filterQuality,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
String get path => _assetName;
|
|
|
|
}
|