mirror of
https://github.com/krawieck/lemmur/
synced 2024-12-15 10:04:13 +01:00
65 lines
1.7 KiB
Dart
65 lines
1.7 KiB
Dart
/// 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({
|
|
Key key,
|
|
ImageFrameBuilder frameBuilder,
|
|
ImageLoadingBuilder loadingBuilder,
|
|
ImageErrorWidgetBuilder errorBuilder,
|
|
String semanticLabel,
|
|
bool excludeFromSemantics = false,
|
|
double width,
|
|
double height,
|
|
Color color,
|
|
BlendMode colorBlendMode,
|
|
BoxFit fit,
|
|
AlignmentGeometry alignment = Alignment.center,
|
|
ImageRepeat repeat = ImageRepeat.noRepeat,
|
|
Rect centerSlice,
|
|
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;
|
|
}
|