pageArgsGenerator function
Builder
pageArgsGenerator(
- BuilderOptions options
Creates a Builder for the args_generator.
The builder utilizes the SharedPartBuilder to perform code generation
for classes annotated with the @GenerateArgs annotation. It relies on
the PageArgsGenerator class to define the logic for generating the
necessary code.
options: Configuration options for the builder.
Returns:
A Builder that integrates with the build_runner for source code generation.
Implementation
Builder pageArgsGenerator(BuilderOptions options) {
return PartBuilder([PageArgsGenerator()], '.args.g.dart');
}