slang_build_runner 2.1.0 copy "slang_build_runner: ^2.1.0" to clipboard
slang_build_runner: ^2.1.0 copied to clipboard

outdated

build_runner integration for slang

slang_build_runner #

build_runner support for slang.

Using slang alone, you can already run flutter pub run slang but sometimes you want to combine multiple source generators.

This library ensures that build_runner recognizes slang without having build as transitive dependency.

dependencies:
  slang: <version>

dev_dependencies:
  build_runner: <version>
  slang_build_runner: <version>

The build.yaml file should be in the correct format.

targets:
  $default:
    builders:
      slang_build_runner:
        options:
          base_locale: en

The generate command:

flutter pub run build_runner build --delete-conflicting-outputs