spotube/lib/collections/assets.gen.dart
2025-08-29 17:33:54 +06:00

173 lines
4.7 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 $AssetsBrandingGen {
const $AssetsBrandingGen();
/// File path: assets/branding/spotube-logo-light.png
AssetGenImage get spotubeLogoLight =>
const AssetGenImage('assets/branding/spotube-logo-light.png');
/// File path: assets/branding/spotube-logo.png
AssetGenImage get spotubeLogo =>
const AssetGenImage('assets/branding/spotube-logo.png');
/// List of all assets
List<AssetGenImage> get values => [spotubeLogoLight, spotubeLogo];
}
class $AssetsImagesGen {
const $AssetsImagesGen();
/// File path: assets/images/album-placeholder.png
AssetGenImage get albumPlaceholder =>
const AssetGenImage('assets/images/album-placeholder.png');
/// File path: assets/images/bengali-patterns-bg.jpg
AssetGenImage get bengaliPatternsBg =>
const AssetGenImage('assets/images/bengali-patterns-bg.jpg');
/// File path: assets/images/liked-tracks.jpg
AssetGenImage get likedTracks =>
const AssetGenImage('assets/images/liked-tracks.jpg');
/// Directory path: assets/images/logos
$AssetsImagesLogosGen get logos => const $AssetsImagesLogosGen();
/// File path: assets/images/placeholder.png
AssetGenImage get placeholder =>
const AssetGenImage('assets/images/placeholder.png');
/// File path: assets/images/user-placeholder.png
AssetGenImage get userPlaceholder =>
const AssetGenImage('assets/images/user-placeholder.png');
/// List of all assets
List<AssetGenImage> get values => [
albumPlaceholder,
bengaliPatternsBg,
likedTracks,
placeholder,
userPlaceholder
];
}
class $AssetsImagesLogosGen {
const $AssetsImagesLogosGen();
/// File path: assets/images/logos/invidious.jpg
AssetGenImage get invidious =>
const AssetGenImage('assets/images/logos/invidious.jpg');
/// File path: assets/images/logos/jiosaavn.png
AssetGenImage get jiosaavn =>
const AssetGenImage('assets/images/logos/jiosaavn.png');
/// File path: assets/images/logos/songlink-transparent.png
AssetGenImage get songlinkTransparent =>
const AssetGenImage('assets/images/logos/songlink-transparent.png');
/// List of all assets
List<AssetGenImage> get values => [invidious, jiosaavn, songlinkTransparent];
}
class Assets {
Assets._();
static const String license = 'LICENSE';
static const $AssetsBrandingGen branding = $AssetsBrandingGen();
static const $AssetsImagesGen images = $AssetsImagesGen();
/// List of all assets
static List<String> get values => [license];
}
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.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,
);
}
ImageProvider provider({
AssetBundle? bundle,
String? package,
}) {
return AssetImage(
_assetName,
bundle: bundle,
package: package,
);
}
String get path => _assetName;
String get keyName => _assetName;
}