Procházet zdrojové kódy

[New]删除自动生成的资源文件

zhipeng před 1 rokem
rodič
revize
602386857d
2 změnil soubory, kde provedl 0 přidání a 254 odebrání
  1. 0 116
      lib/resource/assets.gen.dart
  2. 0 138
      lib/resource/colors.gen.dart

+ 0 - 116
lib/resource/assets.gen.dart

@@ -1,116 +0,0 @@
-/// 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 $AssetsImagesGen {
-  const $AssetsImagesGen();
-
-  /// File path: assets/images/icon_files_new_dir.webp
-  AssetGenImage get iconFilesNewDir =>
-      const AssetGenImage('assets/images/icon_files_new_dir.webp');
-
-  /// File path: assets/images/icon_more.webp
-  AssetGenImage get iconMore =>
-      const AssetGenImage('assets/images/icon_more.webp');
-
-  /// File path: assets/images/icon_search.webp
-  AssetGenImage get iconSearch =>
-      const AssetGenImage('assets/images/icon_search.webp');
-
-  /// List of all assets
-  List<AssetGenImage> get values => [iconFilesNewDir, iconMore, iconSearch];
-}
-
-class Assets {
-  Assets._();
-
-  static const $AssetsImagesGen images = $AssetsImagesGen();
-}
-
-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 = false,
-    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;
-}

+ 0 - 138
lib/resource/colors.gen.dart

@@ -1,138 +0,0 @@
-/// 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/painting.dart';
-import 'package:flutter/material.dart';
-
-class ColorName {
-  ColorName._();
-
-  /// Color: #FF000000
-  static const Color black = Color(0xFF000000);
-
-  /// Color: #1A000000
-  static const Color black10 = Color(0x1A000000);
-
-  /// Color: #26000000
-  static const Color black15 = Color(0x26000000);
-
-  /// Color: #33000000
-  static const Color black20 = Color(0x33000000);
-
-  /// Color: #40000000
-  static const Color black25 = Color(0x40000000);
-
-  /// Color: #4D000000
-  static const Color black30 = Color(0x4D000000);
-
-  /// Color: #59000000
-  static const Color black35 = Color(0x59000000);
-
-  /// Color: #66000000
-  static const Color black40 = Color(0x66000000);
-
-  /// Color: #73000000
-  static const Color black45 = Color(0x73000000);
-
-  /// Color: #0D000000
-  static const Color black5 = Color(0x0D000000);
-
-  /// Color: #80000000
-  static const Color black50 = Color(0x80000000);
-
-  /// Color: #8C000000
-  static const Color black55 = Color(0x8C000000);
-
-  /// Color: #99000000
-  static const Color black60 = Color(0x99000000);
-
-  /// Color: #A6000000
-  static const Color black65 = Color(0xA6000000);
-
-  /// Color: #B3000000
-  static const Color black70 = Color(0xB3000000);
-
-  /// Color: #B000000F
-  static const Color black75 = Color(0xB000000F);
-
-  /// Color: #CC000000
-  static const Color black80 = Color(0xCC000000);
-
-  /// Color: #D9000000
-  static const Color black85 = Color(0xD9000000);
-
-  /// Color: #E6000000
-  static const Color black90 = Color(0xE6000000);
-
-  /// Color: #F2000000
-  static const Color black95 = Color(0xF2000000);
-
-  /// Color: #FFFFFFFF
-  static const Color white = Color(0xFFFFFFFF);
-
-  /// Color: #1AFFFFFF
-  static const Color white10 = Color(0x1AFFFFFF);
-
-  /// Color: #26FFFFFF
-  static const Color white15 = Color(0x26FFFFFF);
-
-  /// Color: #33FFFFFF
-  static const Color white20 = Color(0x33FFFFFF);
-
-  /// Color: #40FFFFFF
-  static const Color white25 = Color(0x40FFFFFF);
-
-  /// Color: #4DFFFFFF
-  static const Color white30 = Color(0x4DFFFFFF);
-
-  /// Color: #59FFFFFF
-  static const Color white35 = Color(0x59FFFFFF);
-
-  /// Color: #66FFFFFF
-  static const Color white40 = Color(0x66FFFFFF);
-
-  /// Color: #73FFFFFF
-  static const Color white45 = Color(0x73FFFFFF);
-
-  /// Color: #0DFFFFFF
-  static const Color white5 = Color(0x0DFFFFFF);
-
-  /// Color: #80FFFFFF
-  static const Color white50 = Color(0x80FFFFFF);
-
-  /// Color: #8CFFFFFF
-  static const Color white55 = Color(0x8CFFFFFF);
-
-  /// Color: #99FFFFFF
-  static const Color white60 = Color(0x99FFFFFF);
-
-  /// Color: #A6FFFFFF
-  static const Color white65 = Color(0xA6FFFFFF);
-
-  /// Color: #B3FFFFFF
-  static const Color white70 = Color(0xB3FFFFFF);
-
-  /// Color: #BFFFFFFF
-  static const Color white75 = Color(0xBFFFFFFF);
-
-  /// Color: #CCFFFFFF
-  static const Color white80 = Color(0xCCFFFFFF);
-
-  /// Color: #D9FFFFFF
-  static const Color white85 = Color(0xD9FFFFFF);
-
-  /// Color: #DEFFFFFF
-  static const Color white87 = Color(0xDEFFFFFF);
-
-  /// Color: #E6FFFFFF
-  static const Color white90 = Color(0xE6FFFFFF);
-
-  /// Color: #F2FFFFFF
-  static const Color white95 = Color(0xF2FFFFFF);
-}