yx_icon_fonts_flutter/lib/yx_icon_fonts.dart

27 lines
677 B
Dart
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

library yx_icon_fonts;
// 导出所有公共组件和类
export 'src/yx_icon.dart';
export 'src/yx_icon_data.dart';
export 'src/yx_icon_fonts_data.dart';
/// 学习官OA系统图标字体库
///
/// 提供学习官OA系统的图标字体支持包含所有图标常量和组件
///
/// ## 使用方法
///
/// ```dart
/// // 使用 YXIcon 组件
/// YXIcon(YXIconFonts.iconMsgContacts, size: 24, color: Colors.blue)
///
/// // 使用 Flutter 原生 Icon 组件
/// Icon(YXIconFonts.iconMsgContacts, size: 24, color: Colors.blue)
///
/// // 在 IconButton 中使用
/// IconButton(
/// icon: YXIcon(YXIconFonts.iconMsgContacts),
/// onPressed: () {},
/// )
/// ```