A Flutter package support creating IconData from IcoMoon json file and more.
The goal of this package is to be able to use it to generate code. In the first versions, it will only support creating IconData from IcoMoon json file. Next will be creating the code base, which may include Design Token from Figma Studio
Installation
As a part of build_runner
-
Add build_runner and flutter_code_gen to your package's pubspec.yaml file:
dev_dependencies: build_runner: flutter_code_gen:
-
Install FlutterCodeGen
flutter pub get
-
Use FlutterCodeGen
dart run build_runner build
See also build_runner
Configuration file
Documents and references
Inspired by FlutterGen by wasabeef