svg_fetch_to_icon_font 0.0.1
svg_fetch_to_icon_font: ^0.0.1 copied to clipboard
A command-line tool to fetch SVG icons from Figma and convert them into an icon font, along with Figma variables to Flutter theme files.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate svg_fetch_to_icon_fontUse it
The package has the following executables:
$ svg_fetch_to_icon_font
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add svg_fetch_to_icon_fontThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
svg_fetch_to_icon_font: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:svg_fetch_to_icon_font/svg_fetch_to_icon_font.dart';