pd4d10/flutter-vector-icons
Flutter용 사용자 정의 가능한 아이콘. react-native-vector-icons의 포트
- Stars
- 78
- Forks
- 20
- 최근 푸시(UTC)
- 2023. 10. 20.
- 프로젝트 상태
- 활성
언어DartC++CMakeTypeScriptRubyHTMLCSwiftKotlinObjective-C
기술 주제
사용 중인 의존성
의존성 목록 2 개
- flutter
{"sdk":"flutter"} - flutter_test개발 의존성
{"sdk":"flutter"}
원본 README
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
README 펼치기 / 접기
flutter_vector_icons
Customizable Icons for Flutter. Port of react-native-vector-icons.
Preview icons with the gallery: https://flutter-vector-icons.vercel.app
Installation
flutter pub add flutter_vector_icons
Usage
import 'package:flutter/material.dart';
import 'package:flutter_vector_icons/flutter_vector_icons.dart';
class MyWidget extends StatelessWidget {
Widget build(BuildContext context) {
return IconButton(
// Variable name is the same as font name:
//
// AntDesign
// Entypo
// EvilIcons
// Feather
// FontAwesome
// Foundation
// Ionicons
// MaterialCommunityIcons
// MaterialIcons
// Octicons
// SimpleLineIcons
// Zocial
// FontAwesome5Brands
// FontAwesome5Regular
// FontAwesome5Solid
icon: Icon(MaterialCommunityIcons.star),
onPressed: () {
print('Star it');
},
);
}
}
Version Correspondence
| flutter-vector-icons | react-native-vector-icons |
|---|---|
| 2.x | 9.x |
| 1.x | 8.x |
Development
Fonts and code are auto generated by scripts:
deno run --allow-net=data.jsdelivr.com,cdn.jsdelivr.net --allow-read=. --allow-write=. --allow-run codegen.ts
Credits
License
MIT