iconFontBuilder function

Builder iconFontBuilder(
  1. BuilderOptions options
)

Builder factory function for build_runner integration.

This function is called by the build_runner framework to create an instance of the IconFontBuilder.

Usage in build.yaml:

targets:
  $default:
    builders:
      flutter_iconfont_generator|iconfont_builder:
        enabled: true
        builder_factories: ["iconFontBuilder"]

Parameters:

  • options: Build options passed from the build_runner configuration

Returns:

  • A new instance of IconFontBuilder

Implementation

Builder iconFontBuilder(BuilderOptions options) => IconFontBuilder();