diff --git a/README.md b/README.md index 55be3ea..e7b613e 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,26 @@ Icon(FontAwesome5.address_book), Icon(FontAwesome5Solid.address_book), Icon(FontAwesome5Brands.$500px) +// After 1.1.0, the FlutterIcons class is provided to access all Icons +// Icon name in the original basis added icon set abbreviation name as suffix +// Hereinafter referred to as the following +//Ant Design Icons -> ant, +//Entypo Icons -> ent, +//Evil Icons -> evi, +//Feather Icons -> fea, +//Font Awesome Icons -> faw, +//Foundation Icons -> fou, +//Ionicons Icons -> ion, +//Material Community Icons -> mco, +//Material Icons -> mdi, +//Octicons Icons -> oct, +//Simple Line Icons -> sli, +//Zocial Icons -> zoc, +//Weather Icons -> wea +Icon(FlutterIcons.stepforward_ant) +Icon(FlutterIcons.html5_faw) +... + // Previous versions of 1.0.0 are used Icon(Ionicons.getIconData("ios-search")); Icon(AntDesign.getIconData("stepforward")); diff --git a/README_zh-CN.md b/README_zh-CN.md index d4d0982..ccd3a4a 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -46,5 +46,26 @@ Icon(MaterialIcons.ac_unit), Icon(FontAwesome5.address_book), Icon(FontAwesome5Solid.address_book), Icon(FontAwesome5Brands.$500px) + +// 1.1.0之后提供了FlutterIcons类访问所有的图标 +// 图标名称在原有的基础上添加了图标集简称名称作为后缀 +// 简称如下 +//Ant Design Icons -> ant, +//Entypo Icons -> ent, +//Evil Icons -> evi, +//Feather Icons -> fea, +//Font Awesome Icons -> faw, +//Foundation Icons -> fou, +//Ionicons Icons -> ion, +//Material Community Icons -> mco, +//Material Icons -> mdi, +//Octicons Icons -> oct, +//Simple Line Icons -> sli, +//Zocial Icons -> zoc, +//Weather Icons -> wea +Icon(FlutterIcons.stepforward_ant) +Icon(FlutterIcons.html5_faw) +... + ``` ### 特别感谢react-native-vector-icons插件包及其开发者们 diff --git a/a.dart b/a.dart deleted file mode 100644 index e69de29..0000000 diff --git a/pubspec.lock b/pubspec.lock deleted file mode 100644 index 5309463..0000000 --- a/pubspec.lock +++ /dev/null @@ -1,139 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - async: - dependency: transitive - description: - name: async - url: "https://pub.flutter-io.cn" - source: hosted - version: "2.2.0" - boolean_selector: - dependency: transitive - description: - name: boolean_selector - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.0.4" - charcode: - dependency: transitive - description: - name: charcode - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.1.2" - collection: - dependency: transitive - description: - name: collection - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.14.11" - flutter: - dependency: "direct main" - description: flutter - source: sdk - version: "0.0.0" - flutter_test: - dependency: "direct dev" - description: flutter - source: sdk - version: "0.0.0" - matcher: - dependency: transitive - description: - name: matcher - url: "https://pub.flutter-io.cn" - source: hosted - version: "0.12.5" - meta: - dependency: transitive - description: - name: meta - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.1.6" - path: - dependency: transitive - description: - name: path - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.6.2" - pedantic: - dependency: transitive - description: - name: pedantic - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.7.0" - quiver: - dependency: transitive - description: - name: quiver - url: "https://pub.flutter-io.cn" - source: hosted - version: "2.0.3" - sky_engine: - dependency: transitive - description: flutter - source: sdk - version: "0.0.99" - source_span: - dependency: transitive - description: - name: source_span - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.5.5" - stack_trace: - dependency: transitive - description: - name: stack_trace - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.9.3" - stream_channel: - dependency: transitive - description: - name: stream_channel - url: "https://pub.flutter-io.cn" - source: hosted - version: "2.0.0" - string_scanner: - dependency: transitive - description: - name: string_scanner - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.0.4" - term_glyph: - dependency: transitive - description: - name: term_glyph - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.1.0" - test_api: - dependency: transitive - description: - name: test_api - url: "https://pub.flutter-io.cn" - source: hosted - version: "0.2.5" - typed_data: - dependency: transitive - description: - name: typed_data - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.1.6" - vector_math: - dependency: transitive - description: - name: vector_math - url: "https://pub.flutter-io.cn" - source: hosted - version: "2.0.8" -sdks: - dart: ">=2.2.2 <3.0.0"