Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

198 righe
5.6 KiB

  1. /// GENERATED CODE - DO NOT MODIFY BY HAND
  2. /// *****************************************************
  3. /// FlutterGen
  4. /// *****************************************************
  5. // coverage:ignore-file
  6. // ignore_for_file: type=lint
  7. // ignore_for_file: directives_ordering,unnecessary_import,implicit_dynamic_list_literal,deprecated_member_use
  8. import 'package:flutter/widgets.dart';
  9. class $AssetsIconGen {
  10. const $AssetsIconGen();
  11. /// File path: assets/icon/bottom_nav_home_select.png
  12. AssetGenImage get bottomNavHomeSelect =>
  13. const AssetGenImage('assets/icon/bottom_nav_home_select.png');
  14. /// File path: assets/icon/bottom_nav_home_unselect.gif
  15. AssetGenImage get bottomNavHomeUnselect =>
  16. const AssetGenImage('assets/icon/bottom_nav_home_unselect.gif');
  17. /// File path: assets/icon/bottom_nav_profile_select.png
  18. AssetGenImage get bottomNavProfileSelect =>
  19. const AssetGenImage('assets/icon/bottom_nav_profile_select.png');
  20. /// File path: assets/icon/bottom_nav_profile_unselect.png
  21. AssetGenImage get bottomNavProfileUnselect =>
  22. const AssetGenImage('assets/icon/bottom_nav_profile_unselect.png');
  23. /// File path: assets/icon/bottom_nav_sleep_select.png
  24. AssetGenImage get bottomNavSleepSelect =>
  25. const AssetGenImage('assets/icon/bottom_nav_sleep_select.png');
  26. /// File path: assets/icon/bottom_nav_sleep_unselect.png
  27. AssetGenImage get bottomNavSleepUnselect =>
  28. const AssetGenImage('assets/icon/bottom_nav_sleep_unselect.png');
  29. /// File path: assets/icon/home_ai_model.png
  30. AssetGenImage get homeAiModel =>
  31. const AssetGenImage('assets/icon/home_ai_model.png');
  32. /// File path: assets/icon/home_bluetooth.png
  33. AssetGenImage get homeBluetooth =>
  34. const AssetGenImage('assets/icon/home_bluetooth.png');
  35. /// File path: assets/icon/home_icon_fyjl.png
  36. AssetGenImage get homeIconFyjl =>
  37. const AssetGenImage('assets/icon/home_icon_fyjl.png');
  38. /// File path: assets/icon/home_icon_mdmfy.png
  39. AssetGenImage get homeIconMdmfy =>
  40. const AssetGenImage('assets/icon/home_icon_mdmfy.png');
  41. /// File path: assets/icon/home_icon_tcty.png
  42. AssetGenImage get homeIconTcty =>
  43. const AssetGenImage('assets/icon/home_icon_tcty.png');
  44. /// File path: assets/icon/home_icon_thyyfy.png
  45. AssetGenImage get homeIconThyyfy =>
  46. const AssetGenImage('assets/icon/home_icon_thyyfy.png');
  47. /// File path: assets/icon/home_img.png
  48. AssetGenImage get homeImg => const AssetGenImage('assets/icon/home_img.png');
  49. /// File path: assets/icon/home_question.png
  50. AssetGenImage get homeQuestion =>
  51. const AssetGenImage('assets/icon/home_question.png');
  52. /// File path: assets/icon/icon.png
  53. AssetGenImage get icon => const AssetGenImage('assets/icon/icon.png');
  54. /// List of all assets
  55. List<AssetGenImage> get values => [
  56. bottomNavHomeSelect,
  57. bottomNavHomeUnselect,
  58. bottomNavProfileSelect,
  59. bottomNavProfileUnselect,
  60. bottomNavSleepSelect,
  61. bottomNavSleepUnselect,
  62. homeAiModel,
  63. homeBluetooth,
  64. homeIconFyjl,
  65. homeIconMdmfy,
  66. homeIconTcty,
  67. homeIconThyyfy,
  68. homeImg,
  69. homeQuestion,
  70. icon
  71. ];
  72. }
  73. class $AssetsImgGen {
  74. const $AssetsImgGen();
  75. /// File path: assets/img/image_ai.png
  76. AssetGenImage get imageAi => const AssetGenImage('assets/img/image_ai.png');
  77. /// File path: assets/img/image_bg_blur.png
  78. AssetGenImage get imageBgBlur =>
  79. const AssetGenImage('assets/img/image_bg_blur.png');
  80. /// File path: assets/img/image_user.png
  81. AssetGenImage get imageUser =>
  82. const AssetGenImage('assets/img/image_user.png');
  83. /// List of all assets
  84. List<AssetGenImage> get values => [imageAi, imageBgBlur, imageUser];
  85. }
  86. class Assets {
  87. const Assets._();
  88. static const $AssetsIconGen icon = $AssetsIconGen();
  89. static const $AssetsImgGen img = $AssetsImgGen();
  90. }
  91. class AssetGenImage {
  92. const AssetGenImage(
  93. this._assetName, {
  94. this.size,
  95. this.flavors = const {},
  96. });
  97. final String _assetName;
  98. final Size? size;
  99. final Set<String> flavors;
  100. Image image({
  101. Key? key,
  102. AssetBundle? bundle,
  103. ImageFrameBuilder? frameBuilder,
  104. ImageErrorWidgetBuilder? errorBuilder,
  105. String? semanticLabel,
  106. bool excludeFromSemantics = false,
  107. double? scale,
  108. double? width,
  109. double? height,
  110. Color? color,
  111. Animation<double>? opacity,
  112. BlendMode? colorBlendMode,
  113. BoxFit? fit,
  114. AlignmentGeometry alignment = Alignment.center,
  115. ImageRepeat repeat = ImageRepeat.noRepeat,
  116. Rect? centerSlice,
  117. bool matchTextDirection = false,
  118. bool gaplessPlayback = true,
  119. bool isAntiAlias = false,
  120. String? package,
  121. FilterQuality filterQuality = FilterQuality.medium,
  122. int? cacheWidth,
  123. int? cacheHeight,
  124. }) {
  125. return Image.asset(
  126. _assetName,
  127. key: key,
  128. bundle: bundle,
  129. frameBuilder: frameBuilder,
  130. errorBuilder: errorBuilder,
  131. semanticLabel: semanticLabel,
  132. excludeFromSemantics: excludeFromSemantics,
  133. scale: scale,
  134. width: width,
  135. height: height,
  136. color: color,
  137. opacity: opacity,
  138. colorBlendMode: colorBlendMode,
  139. fit: fit,
  140. alignment: alignment,
  141. repeat: repeat,
  142. centerSlice: centerSlice,
  143. matchTextDirection: matchTextDirection,
  144. gaplessPlayback: gaplessPlayback,
  145. isAntiAlias: isAntiAlias,
  146. package: package,
  147. filterQuality: filterQuality,
  148. cacheWidth: cacheWidth,
  149. cacheHeight: cacheHeight,
  150. );
  151. }
  152. ImageProvider provider({
  153. AssetBundle? bundle,
  154. String? package,
  155. }) {
  156. return AssetImage(
  157. _assetName,
  158. bundle: bundle,
  159. package: package,
  160. );
  161. }
  162. String get path => _assetName;
  163. String get keyName => _assetName;
  164. }