feat: 增加图标

This commit is contained in:
Max 2025-12-15 17:42:38 +08:00
parent fa86bc15f8
commit 59731b54de
5 changed files with 61 additions and 19 deletions

View File

@ -4,6 +4,28 @@ import 'package:yx_icon_fonts_example/example_icon.dart';
//
final icons = <ExampleIcon>[
//
ExampleIcon(YXIconFonts.icon32Clean, 'icon 32 clean'),
ExampleIcon(YXIconFonts.icon36Viewhistory, 'icon 36 viewhistory'),
ExampleIcon(YXIconFonts.icon36Revoke, 'icon 36 revoke'),
ExampleIcon(YXIconFonts.icon32Location, 'icon 32 location'),
ExampleIcon(YXIconFonts.icon24Mypoints, 'icon 24 mypoints'),
ExampleIcon(YXIconFonts.icon44Search, 'icon 44 search'),
ExampleIcon(YXIconFonts.icon36ClearPeople, 'icon 36 clear people'),
ExampleIcon(YXIconFonts.icon32Publish, 'icon 32 publish'),
ExampleIcon(YXIconFonts.icon32Close, 'icon 32 close'),
ExampleIcon(YXIconFonts.icon32Output, 'icon 32 output'),
ExampleIcon(YXIconFonts.icon24Download, 'icon 24 download'),
ExampleIcon(YXIconFonts.iconVoicePause, 'icon voice pause'),
ExampleIcon(YXIconFonts.iconVoice, 'icon voice'),
ExampleIcon(YXIconFonts.iconSubtract, 'icon subtract'),
ExampleIcon(YXIconFonts.icon44CancelAccount, 'icon 44 cancel account'),
ExampleIcon(YXIconFonts.icon24Search, 'icon 24 search'),
ExampleIcon(YXIconFonts.icon24Up, 'icon 24 up'),
ExampleIcon(YXIconFonts.icon24Minus, 'icon 24 minus'),
ExampleIcon(YXIconFonts.icon36OnlySee, 'icon 36 only see'),
ExampleIcon(YXIconFonts.icon24Plus, 'icon 24 plus'),
//
ExampleIcon(YXIconFonts.icon30Edit, 'icon 30 edit'),
ExampleIcon(YXIconFonts.icon44Edit, 'icon 44 edit'),
@ -26,25 +48,6 @@ final icons = <ExampleIcon>[
ExampleIcon(YXIconFonts.icon44Add, 'icon 44 add'),
ExampleIcon(YXIconFonts.icon32Add, 'icon 32 add'),
//
ExampleIcon(YXIconFonts.icon32Location, 'icon 32 location'),
ExampleIcon(YXIconFonts.icon24Mypoints, 'icon 24 mypoints'),
ExampleIcon(YXIconFonts.icon44Search, 'icon 44 search'),
ExampleIcon(YXIconFonts.icon36ClearPeople, 'icon 36 clear people'),
ExampleIcon(YXIconFonts.icon32Publish, 'icon 32 publish'),
ExampleIcon(YXIconFonts.icon32Close, 'icon 32 close'),
ExampleIcon(YXIconFonts.icon32Output, 'icon 32 output'),
ExampleIcon(YXIconFonts.icon24Download, 'icon 24 download'),
ExampleIcon(YXIconFonts.iconVoicePause, 'icon voice pause'),
ExampleIcon(YXIconFonts.iconVoice, 'icon voice'),
ExampleIcon(YXIconFonts.iconSubtract, 'icon subtract'),
ExampleIcon(YXIconFonts.icon44CancelAccount, 'icon 44 cancel account'),
ExampleIcon(YXIconFonts.icon24Search, 'icon 24 search'),
ExampleIcon(YXIconFonts.icon24Up, 'icon 24 up'),
ExampleIcon(YXIconFonts.icon24Minus, 'icon 24 minus'),
ExampleIcon(YXIconFonts.icon36OnlySee, 'icon 36 only see'),
ExampleIcon(YXIconFonts.icon24Plus, 'icon 24 plus'),
//
ExampleIcon(YXIconFonts.icon44MeAbout, 'icon 44 me about'),
ExampleIcon(YXIconFonts.icon44MePointsmall, 'icon 44 me pointsmall'),

Binary file not shown.

View File

@ -8,6 +8,9 @@ class FontIcons {
FontIcons._();
//
static const IconData icon32Clean = YXIconFonts.icon32Clean;
static const IconData icon36Viewhistory = YXIconFonts.icon36Viewhistory;
static const IconData icon36Revoke = YXIconFonts.icon36Revoke;
static const IconData icon32Location = YXIconFonts.icon32Location;
static const IconData icon24Mypoints = YXIconFonts.icon24Mypoints;
static const IconData icon44Search = YXIconFonts.icon44Search;

View File

@ -5,6 +5,27 @@
"css_prefix_text": "",
"description": "劝学APP-学习官OA系统图标",
"glyphs": [
{
"icon_id": "46349152",
"name": "icon_32_clean",
"font_class": "icon_32_clean",
"unicode": "e660",
"unicode_decimal": 58976
},
{
"icon_id": "46348938",
"name": "icon_36_viewhistory",
"font_class": "icon_36_viewhistory",
"unicode": "e65f",
"unicode_decimal": 58975
},
{
"icon_id": "46205256",
"name": "icon_36_revoke",
"font_class": "icon_36_revoke",
"unicode": "e65e",
"unicode_decimal": 58974
},
{
"icon_id": "46077069",
"name": "icon_30_edit",

View File

@ -9,6 +9,21 @@ class YXIconFonts {
//
YXIconFonts._();
/// icon_32_clean
///
/// Unicode: e660
static const IconData icon32Clean = YXIconData(0xe660);
/// icon_36_viewhistory
///
/// Unicode: e65f
static const IconData icon36Viewhistory = YXIconData(0xe65f);
/// icon_36_revoke
///
/// Unicode: e65e
static const IconData icon36Revoke = YXIconData(0xe65e);
/// icon_30_edit
///
/// Unicode: e65b