- Wallet EnakPoint & EnakCoin: beranda, riwayat, saldo kedaluwarsa, kode bayar, tukar EnakCoin, transfer - PIN (buat, ganti, lupa), outlet, riwayat order, game spin - Halaman community, webview, coming soon, dan ikon menu beranda baru - Redesign Reward Saya: kartu tiket, filter chip, detail kode + QR - Hapus customer point loader, menu, dan checkout lama - Base URL ke enaklo-pos-api.altru.id Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
251 lines
6.8 KiB
Dart
251 lines
6.8 KiB
Dart
// dart format width=80
|
|
|
|
/// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
/// *****************************************************
|
|
/// FlutterGen
|
|
/// *****************************************************
|
|
|
|
// coverage:ignore-file
|
|
// ignore_for_file: type=lint
|
|
// ignore_for_file: deprecated_member_use,directives_ordering,implicit_dynamic_list_literal,unnecessary_import
|
|
|
|
import 'package:flutter/widgets.dart';
|
|
|
|
class $AssetsAudioGen {
|
|
const $AssetsAudioGen();
|
|
|
|
/// File path: assets/audio/bell_ding.mp3
|
|
String get bellDing => 'assets/audio/bell_ding.mp3';
|
|
|
|
/// File path: assets/audio/big_win.mp3
|
|
String get bigWin => 'assets/audio/big_win.mp3';
|
|
|
|
/// File path: assets/audio/button_tap.mp3
|
|
String get buttonTap => 'assets/audio/button_tap.mp3';
|
|
|
|
/// File path: assets/audio/carnaval_main_theme.mp3
|
|
String get carnavalMainTheme => 'assets/audio/carnaval_main_theme.mp3';
|
|
|
|
/// File path: assets/audio/token_sound.mp3
|
|
String get tokenSound => 'assets/audio/token_sound.mp3';
|
|
|
|
/// File path: assets/audio/wheel_spin.mp3
|
|
String get wheelSpin => 'assets/audio/wheel_spin.mp3';
|
|
|
|
/// List of all assets
|
|
List<String> get values => [
|
|
bellDing,
|
|
bigWin,
|
|
buttonTap,
|
|
carnavalMainTheme,
|
|
tokenSound,
|
|
wheelSpin,
|
|
];
|
|
}
|
|
|
|
class $AssetsIconsGen {
|
|
const $AssetsIconsGen();
|
|
|
|
/// File path: assets/icons/dine_in.png
|
|
AssetGenImage get dineIn => const AssetGenImage('assets/icons/dine_in.png');
|
|
|
|
/// File path: assets/icons/enakcoin_icon.png
|
|
AssetGenImage get enakcoinIcon =>
|
|
const AssetGenImage('assets/icons/enakcoin_icon.png');
|
|
|
|
/// File path: assets/icons/enakcommunity_icon.png
|
|
AssetGenImage get enakcommunityIcon =>
|
|
const AssetGenImage('assets/icons/enakcommunity_icon.png');
|
|
|
|
/// File path: assets/icons/enakgame_icon.png
|
|
AssetGenImage get enakgameIcon =>
|
|
const AssetGenImage('assets/icons/enakgame_icon.png');
|
|
|
|
/// File path: assets/icons/enaknews_icon.png
|
|
AssetGenImage get enaknewsIcon =>
|
|
const AssetGenImage('assets/icons/enaknews_icon.png');
|
|
|
|
/// File path: assets/icons/enakpoint_icon.png
|
|
AssetGenImage get enakpointIcon =>
|
|
const AssetGenImage('assets/icons/enakpoint_icon.png');
|
|
|
|
/// File path: assets/icons/enakpromo_icon.png
|
|
AssetGenImage get enakpromoIcon =>
|
|
const AssetGenImage('assets/icons/enakpromo_icon.png');
|
|
|
|
/// File path: assets/icons/enakreward_icon.png
|
|
AssetGenImage get enakrewardIcon =>
|
|
const AssetGenImage('assets/icons/enakreward_icon.png');
|
|
|
|
/// File path: assets/icons/enakshop_icon.png
|
|
AssetGenImage get enakshopIcon =>
|
|
const AssetGenImage('assets/icons/enakshop_icon.png');
|
|
|
|
/// File path: assets/icons/enaktransfer_icon.png
|
|
AssetGenImage get enaktransferIcon =>
|
|
const AssetGenImage('assets/icons/enaktransfer_icon.png');
|
|
|
|
/// File path: assets/icons/takeaway.png
|
|
AssetGenImage get takeaway =>
|
|
const AssetGenImage('assets/icons/takeaway.png');
|
|
|
|
/// List of all assets
|
|
List<AssetGenImage> get values => [
|
|
dineIn,
|
|
enakcoinIcon,
|
|
enakcommunityIcon,
|
|
enakgameIcon,
|
|
enaknewsIcon,
|
|
enakpointIcon,
|
|
enakpromoIcon,
|
|
enakrewardIcon,
|
|
enakshopIcon,
|
|
enaktransferIcon,
|
|
takeaway,
|
|
];
|
|
}
|
|
|
|
class $AssetsImagesGen {
|
|
const $AssetsImagesGen();
|
|
|
|
/// File path: assets/images/bakso343.jpeg
|
|
AssetGenImage get bakso343 =>
|
|
const AssetGenImage('assets/images/bakso343.jpeg');
|
|
|
|
/// File path: assets/images/launcher.png
|
|
AssetGenImage get launcher =>
|
|
const AssetGenImage('assets/images/launcher.png');
|
|
|
|
/// File path: assets/images/logo.png
|
|
AssetGenImage get logo => const AssetGenImage('assets/images/logo.png');
|
|
|
|
/// File path: assets/images/onboarding1.png
|
|
AssetGenImage get onboarding1 =>
|
|
const AssetGenImage('assets/images/onboarding1.png');
|
|
|
|
/// File path: assets/images/onboarding2.png
|
|
AssetGenImage get onboarding2 =>
|
|
const AssetGenImage('assets/images/onboarding2.png');
|
|
|
|
/// File path: assets/images/onboarding3.png
|
|
AssetGenImage get onboarding3 =>
|
|
const AssetGenImage('assets/images/onboarding3.png');
|
|
|
|
/// File path: assets/images/ramenmulu.jpeg
|
|
AssetGenImage get ramenmulu =>
|
|
const AssetGenImage('assets/images/ramenmulu.jpeg');
|
|
|
|
/// File path: assets/images/tumulu.jpeg
|
|
AssetGenImage get tumulu => const AssetGenImage('assets/images/tumulu.jpeg');
|
|
|
|
/// File path: assets/images/woku.jpeg
|
|
AssetGenImage get woku => const AssetGenImage('assets/images/woku.jpeg');
|
|
|
|
/// List of all assets
|
|
List<AssetGenImage> get values => [
|
|
bakso343,
|
|
launcher,
|
|
logo,
|
|
onboarding1,
|
|
onboarding2,
|
|
onboarding3,
|
|
ramenmulu,
|
|
tumulu,
|
|
woku,
|
|
];
|
|
}
|
|
|
|
abstract final class Assets {
|
|
static const $AssetsAudioGen audio = $AssetsAudioGen();
|
|
static const $AssetsIconsGen icons = $AssetsIconsGen();
|
|
static const $AssetsImagesGen images = $AssetsImagesGen();
|
|
}
|
|
|
|
class AssetGenImage {
|
|
const AssetGenImage(
|
|
this._assetName, {
|
|
this.size,
|
|
this.flavors = const {},
|
|
this.animation,
|
|
});
|
|
|
|
final String _assetName;
|
|
|
|
final Size? size;
|
|
final Set<String> flavors;
|
|
final AssetGenImageAnimation? animation;
|
|
|
|
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;
|
|
}
|
|
|
|
class AssetGenImageAnimation {
|
|
const AssetGenImageAnimation({
|
|
required this.isAnimation,
|
|
required this.duration,
|
|
required this.frames,
|
|
});
|
|
|
|
final bool isAnimation;
|
|
final Duration duration;
|
|
final int frames;
|
|
}
|