패키지, 저장소 및 앱 카테고리 검색

패키지 상세v1.1.0

flutter_icons

Flutter용 사용자 정의 가능한 아이콘으로, Flutter 프로젝트에서 3,000개 이상의 아이콘을 사용할 수 있습니다

30일 다운로드
2.7천
좋아요
734
Pub 점수
35

패키지 설치

flutter pub add flutter_icons

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Flutter Icons는 Flutter 애플리케이션용으로 3,000개 이상의 사용자 정의 가능한 아이콘을 제공하는 패키지입니다. 간단한 pub 명령어를 통해 쉽게 통합할 수 있는 풍부한 아이콘 세트를 제공하여 UI 디자인을 강화합니다. 동적 크기 조정, 색상 커스터마이징, 기존 Flutter 프로젝트와의 원활한 통합을 지원합니다. 외부 자산에 의존하지 않고 다양한 아이콘을 활용하고 싶은 개발자에게 적합합니다. 소스 코드는 GitHub에서 공개되어 있어 투명성과 커뮤니티 기여를 보장합니다.

사용 사례

  • 앱 UI에 사용자 지정 아이콘 추가
  • 시각적 신호를 통한 탐색 개선
  • 브랜드 아이콘 세트 만들기
  • 직관적인 기호를 통한 사용자 경험 향상
  • 아이콘 기반 메트릭을 사용한 대시보드 구축

주요 기능

  • 3,000개 이상의 아이콘
  • 사용자 정의 가능한 크기 및 색상
  • pub를 통한 간편한 통합
  • GitHub에서 오픈소스
  • 여러 아이콘 라이브러리 지원

적합한 대상

  • 모바일 앱 개발자
  • UI/UX 디자이너
  • 크로스 플랫폼 프로젝트
  • 풍부한 아이콘 표현이 필요한 앱
  • 디자인 일정이 긴박한 프로젝트

고려 사항

  • 초기 설정을 위해 인터넷이 필요합니다
  • 앱 번들 크기가 약간 증가할 수 있습니다
  • 사전 정의된 아이콘 세트로 제한됨
  • 내장 아이콘 검색 없음
  • 외부 저장소의 안정성에 의존함

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

English | 简体中文

flutter_icons

pub package

Customizable Icons for Flutter,Inspired by react-native-vector-icons

Notice

  1. v1.0.0 has major Api changes, please be careful to upgrade
  2. icon names that begin with a number are preceded by a $prefix
  3. icon named with the dart keyword have the _ suffix added

Bundled Icon Sets

Browse all.

Usage

To use this plugin, add flutter_icons as a dependency in your pubspec.yaml file.

Widget

IconToggle
Prop Description
selectedIconData Icon is displayed when value is true
unselectedIconData Icon is displayed when value is false
activeColor When value is true, the icon color is displayed
inactiveColor When value is false, the icon color is displayed
value Whether this IconToggle is selected.
onChanged Called when the value of the IconToggle should change.
duration The duration of the transition from selected Icon to unselected Icon
reverseDuration he duration of the transition from unselected Icon to selected Icon
transitionBuilder Transition animation function between the selected Icon and the unselected Icon

Example

// Import package
import 'package:flutter_icons/flutter_icons.dart';
import 'package:flutter/material.dart';

// 1.0.0 version used
Icon(AntDesign.stepforward),
Icon(Ionicons.ios_search),
Icon(FontAwesome.glass),
Icon(MaterialIcons.ac_unit),
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,
//Font Awesome 5 Regular -> faw5
//Font Awesome 5 Solid -> faw5s
//Font Awesome 5 Brands -> faw5b
//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"));
Icon(FontAwesome.getIconData("glass"));
Icon(MaterialIcons.getIconData("ac-unit"));
Icon(FontAwesome5.getIconData("address-book"));
Icon(FontAwesome5.getIconData("address-book",weight: IconWeight.Solid));
Icon(FontAwesome5.getIconData("500px", weight: IconWeight.Brand));
How to keep only the fonts used in the project.
step 1

Execute the command

pub global activate split_icon
step2

Add the font you want to leave in the project's pubspec file

//Ant Design Icons -> ant,
//Entypo Icons -> ent,
//Evil Icons -> evi,
//Feather Icons -> fea,
//Font Awesome Icons -> faw,
//Font Awesome 5 Regular -> faw5
//Font Awesome 5 Solid -> faw5s
//Font Awesome 5 Brands -> faw5b
//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

...

flutter_icons:
  includes:
    -ant 
    -mco
 ...
step3

Execute the command in the project directory

split_icon

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트