Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vaetas/feather_icons_svg
Feather Icons SVG allows to customize stroke width in runtime. Uses flutter_svg instead of icon font.
https://github.com/vaetas/feather_icons_svg
dart flutter
Last synced: about 2 months ago
JSON representation
Feather Icons SVG allows to customize stroke width in runtime. Uses flutter_svg instead of icon font.
- Host: GitHub
- URL: https://github.com/vaetas/feather_icons_svg
- Owner: vaetas
- License: mit
- Created: 2021-08-14T14:39:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-29T18:24:57.000Z (over 2 years ago)
- Last Synced: 2023-08-20T21:57:03.291Z (over 1 year ago)
- Topics: dart, flutter
- Language: Dart
- Homepage: https://pub.dev/packages/feather_icons_svg
- Size: 132 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Feather Icons SVG for Flutter
[Feather Icons](https://feathericons.com/) port to Flutter. This package renders the icons as SVG
pictures. This makes it possible to customize icon properties in runtime (stroke width etc.).## Usage
```dart
class MyExampleWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return FeatherIcon(
FeatherIcons.calendar,
color: Colors.red,
size: 30,
strokeWidth: 1.5,
);
}
}
```You can also use `FeatherIconTheme` inherited widget to customize default values for Widget
subtree.## Install
Add `feather_icons_svg` package into your `pubspec.yaml`.
```shell
flutter pub add flutter_icons_svg
```## Development
To fetch SVG icons from original Feather Icons repository, run `tool/fetch-icons.sh`.
Finally, to run source code generation to create `flutter_icons_svg.dart` file with named
constructor for every icon, run `tool/generator.dart`.