figma_flutter_generator 0.0.6
figma_flutter_generator: ^0.0.6 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 figma_flutter_generatorUse it
The package has the following executables:
$ figma_flutter_generator
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add figma_flutter_generatorThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
figma_flutter_generator: ^0.0.6Alternatively, 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:figma_flutter_generator/figma_flutter_generator.dart';