flutter_code_gen 1.0.0-beta.4

SDKflutter
Platformandroidioswindowslinuxmacos

The Flutter code generator for your IcoMoon json file, Code Base (Clean Architecture with Bloc, Bloc Cubit, ...)

pub version pub points

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

  1. Add build_runner and flutter_code_gen to your package's pubspec.yaml file:

    dev_dependencies:
      build_runner:
      flutter_code_gen:
    
  2. Install FlutterCodeGen

    flutter pub get
    
  3. Use FlutterCodeGen

    dart run build_runner build
    

    See also build_runner

Configuration file

Documents and references

Inspired by FlutterGen by wasabeef