jc_icons 0.0.2 copy "jc_icons: ^0.0.2" to clipboard
jc_icons: ^0.0.2 copied to clipboard

Jc-icons for flutter.

jc_icons #

Jc-icons for flutter.

Author: JunCai Lee

Email: 291148484@163.com

LIENCES: MIT

Getting Started #

import 'package:flutter/material.dart';
import 'package:jc_icons/jc_icons.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: IconGrid(),
    );
  }
}

class IconGrid extends StatelessWidget {
  final List<IconData> icons = [
    JcIcons.action_restore,
    JcIcons.action_undo,
    JcIcons.address_book,
    JcIcons.address_book_color,
    JcIcons.align_center,
    JcIcons.align_center_color,
    JcIcons.align_justify,
    JcIcons.align_justify_color,
    JcIcons.align_left,
    JcIcons.align_left_color,
    JcIcons.align_right,
    JcIcons.align_right_color,
    JcIcons.arrow_bottom_circle,
    JcIcons.arrow_bottom_circle_color,
    JcIcons.arrow_double_down,
    JcIcons.arrow_double_down_color,
    JcIcons.arrow_double_left,
    JcIcons.arrow_double_left_color,
    JcIcons.arrow_double_right,
    JcIcons.arrow_double_right_color,
    JcIcons.arrow_double_up,
    JcIcons.arrow_double_up_color,
    JcIcons.arrow_down,
    JcIcons.arrow_down_color,
    JcIcons.arrow_left,
    JcIcons.arrow_left_circle,
    JcIcons.arrow_left_circle_color,
    JcIcons.arrow_left_color,
    JcIcons.arrow_right,
    JcIcons.arrow_right_circle,
    JcIcons.arrow_right_circle_color,
    JcIcons.arrow_right_color,
    JcIcons.arrow_single_down,
    JcIcons.arrow_single_left,
    JcIcons.arrow_single_right,
    JcIcons.arrow_single_up,
    JcIcons.arrow_up,
    JcIcons.arrow_up_circle,
    JcIcons.arrow_up_circle_color,
    JcIcons.arrow_up_color,
    JcIcons.ban,
    JcIcons.ban_color,
    JcIcons.books,
    JcIcons.books_color,
    JcIcons.caculate,
    JcIcons.camera,
    JcIcons.close_circle,
    JcIcons.close_circle_color,
    JcIcons.code,
    JcIcons.code_color,
    JcIcons.collapse_down,
    JcIcons.collapse_down_color,
    JcIcons.collapse_up,
    JcIcons.collapse_up_color,
    JcIcons.cumputer,
    JcIcons.cumputer_color,
    JcIcons.day_moon,
    JcIcons.day_moon_color,
    JcIcons.day_sun,
    JcIcons.day_sun_color,
    JcIcons.demonstrate,
    JcIcons.demonstrate_color,
    JcIcons.demonstrate_v2,
    JcIcons.demonstrate_v2_color,
    JcIcons.dot,
    JcIcons.download,
    JcIcons.download_color,
    JcIcons.draft,
    JcIcons.draft_color,
    JcIcons.drawing,
    JcIcons.drawing_color,
    JcIcons.email,
    JcIcons.email_color,
    JcIcons.eraser,
    JcIcons.eraser_color,
    JcIcons.eyes_close,
    JcIcons.eyes_close_color,
    JcIcons.eyes_open,
    JcIcons.eyes_open_color,
    JcIcons.file,
    JcIcons.file_color,
    JcIcons.file_excel,
    JcIcons.file_excel_color,
    JcIcons.file_json,
    JcIcons.file_json_color,
    JcIcons.file_markdown_color,
    JcIcons.file_pdf,
    JcIcons.file_pdf_color,
    JcIcons.file_ppt,
    JcIcons.file_ppt_color,
    JcIcons.file_temporary,
    JcIcons.file_temporary_color,
    JcIcons.file_text,
    JcIcons.file_text_color,
    JcIcons.file_word,
    JcIcons.file_word_color,
    JcIcons.file_xlmd,
    JcIcons.file_xlmd_color,
    JcIcons.filter,
    JcIcons.folder,
    JcIcons.folder_favorites,
    JcIcons.folder_favorites_color,
    JcIcons.folder_fill,
    JcIcons.folder_open,
    JcIcons.goback,
    JcIcons.goforward,
    JcIcons.hand_bad,
    JcIcons.hand_bad_color,
    JcIcons.hand_good,
    JcIcons.hand_good_color,
    JcIcons.heart,
    JcIcons.heart_empty,
    JcIcons.heart_half,
    JcIcons.help,
    JcIcons.help_circle,
    JcIcons.help_circle_color,
    JcIcons.help_color,
    JcIcons.help_outline,
    JcIcons.home,
    JcIcons.home_color,
    JcIcons.home_v2,
    JcIcons.home_v2_color,
    JcIcons.jcstudio,
    JcIcons.jcstudio_v1_color,
    JcIcons.jcstudio_v2,
    JcIcons.jcstudio_v2_color,
    JcIcons.lang_c,
    JcIcons.lang_cpp,
    JcIcons.lang_csharp,
    JcIcons.lang_dart,
    JcIcons.lang_java,
    JcIcons.lang_javascript,
    JcIcons.lang_julia,
    JcIcons.lang_markdown,
    JcIcons.lang_matlab,
    JcIcons.lang_php,
    JcIcons.lang_powershell,
    JcIcons.lang_python,
    JcIcons.lang_ruby,
    JcIcons.lang_rust,
    JcIcons.lang_swift,
    JcIcons.lang_typescript,
    JcIcons.language_toggle,
    JcIcons.logger_debug,
    JcIcons.logger_error,
    JcIcons.logger_fatal,
    JcIcons.logger_info,
    JcIcons.logger_trace,
    JcIcons.logger_warn,
    JcIcons.login_password,
    JcIcons.login_password_color,
    JcIcons.logo_alipay,
    JcIcons.logo_mijia,
    JcIcons.logo_qq,
    JcIcons.logo_taobao,
    JcIcons.logo_wechart,
    JcIcons.magazine_daily,
    JcIcons.magazine_monthly,
    JcIcons.magazine_weekly,
    JcIcons.magazine_yearly,
    JcIcons.markdown,
    JcIcons.markdown_color,
    JcIcons.meetting,
    JcIcons.meetting_color,
    JcIcons.meme_cool,
    JcIcons.meme_cover_mouth,
    JcIcons.meme_cry,
    JcIcons.meme_difficult,
    JcIcons.meme_frighten,
    JcIcons.meme_haha,
    JcIcons.meme_love,
    JcIcons.meme_show_teeth,
    JcIcons.meme_shut_up,
    JcIcons.meme_smile,
    JcIcons.mindmap,
    JcIcons.mindmap_color,
    JcIcons.move,
    JcIcons.notebook,
    JcIcons.notebook_color,
    JcIcons.office_excel,
    JcIcons.office_ppt,
    JcIcons.page_max,
    JcIcons.page_max_v2,
    JcIcons.page_restore,
    JcIcons.page_restore_v2,
    JcIcons.painter,
    JcIcons.pen,
    JcIcons.pen_classic,
    JcIcons.pen_color,
    JcIcons.pen_draw,
    JcIcons.pentagram,
    JcIcons.pentagram_empty,
    JcIcons.pentagram_half,
    JcIcons.pictures,
    JcIcons.pictures_color,
    JcIcons.pin,
    JcIcons.printer,
    JcIcons.printer_color,
    JcIcons.print_screen,
    JcIcons.print_screen_color,
    JcIcons.QR_code,
    JcIcons.recycle,
    JcIcons.recycle_color,
    JcIcons.reflesh,
    JcIcons.reflesh_color,
    JcIcons.save,
    JcIcons.save_color,
    JcIcons.scan,
    JcIcons.scan_color,
    JcIcons.search,
    JcIcons.search_v2,
    JcIcons.search_v2_color,
    JcIcons.select_outline,
    JcIcons.select_solid,
    JcIcons.setting_fill,
    JcIcons.setting_fill_rotate,
    JcIcons.setting_v2,
    JcIcons.setting_v2_color,
    JcIcons.setting_v2_rotate,
    JcIcons.setting_v2_rotate_color,
    JcIcons.shape_circle,
    JcIcons.shape_rectangle,
    JcIcons.shape_right_triangle,
    JcIcons.shape_square,
    JcIcons.shape_triangle,
    JcIcons.share,
    JcIcons.shopping_cart_empty,
    JcIcons.shopping_cart_empty_color,
    JcIcons.shopping_cart_full,
    JcIcons.shopping_cart_full_color,
    JcIcons.study,
    JcIcons.study_color,
    JcIcons.symbol_add_bold,
    JcIcons.symbol_minus_bold,
    JcIcons.symbol_more,
    JcIcons.system,
    JcIcons.system_v1_color,
    JcIcons.system_v2_color,
    JcIcons.tablelamp,
    JcIcons.tablelamp_color,
    JcIcons.take_class,
    JcIcons.time,
    JcIcons.time_color,
    JcIcons.tobottom,
    JcIcons.tobottom_v2,
    JcIcons.tobottom_v2_color,
    JcIcons.toggle_left,
    JcIcons.toggle_left_color,
    JcIcons.toggle_left_v2,
    JcIcons.toggle_left_v2_color,
    JcIcons.toggle_right,
    JcIcons.toggle_right_color,
    JcIcons.toggle_right_v2,
    JcIcons.toggle_right_v2_color,
    JcIcons.tool,
    JcIcons.tools,
    JcIcons.totop,
    JcIcons.totop_v2,
    JcIcons.totop_v2_color,
    JcIcons.trap_tool,
    JcIcons.trap_tool_color,
    JcIcons.upload,
    JcIcons.upload_color,
    JcIcons.user,
    JcIcons.user_circle,
    JcIcons.user_color,
    JcIcons.user_register,
    JcIcons.user_register_color,
    JcIcons.user_register_v2,
    JcIcons.user_register_v2_color,
    JcIcons.user_v2,
    JcIcons.user_v2_color,
    JcIcons.warn,
    JcIcons.warn_circle,
    JcIcons.warn_color,
    JcIcons.warn_triangle,
    JcIcons.warn_triangle_color,
    JcIcons.wifi,
    JcIcons.wifi_color,
    JcIcons.window_close,
    JcIcons.window_max,
    JcIcons.window_middle,
    JcIcons.window_min,
    JcIcons.zoom_in,
    JcIcons.zoom_in_color,
    JcIcons.zoom_out__color,
    JcIcons.zoom_out,
  ];

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('JcIcons Grid Example'),
      ),
      body: GridView.builder(
        gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount(
          crossAxisCount: 6, // 列数
        ),
        itemCount: icons.length,
        itemBuilder: (context, index) {
          return Center(
            child: Icon(
              icons[index],
              size: 48.0, // 图标大小
              color: null, // 设置颜色为null,以保留原始彩色
            ),
          );
        },
      ),
    );
  }
}

1693741857469

0
likes
125
pub points
0%
popularity

Publisher

unverified uploader

Jc-icons for flutter.

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on jc_icons