fpStateBuilder function

Builder fpStateBuilder(
  1. BuilderOptions options
)

Returns a Builder for generating Flutter FP state files.

The options parameter is used to configure the builder. This builder uses the FpStateGenerator to generate the state files. The generated files will have the extension '.fp_state.dart'.

Implementation

Builder fpStateBuilder(BuilderOptions options) =>
    PartBuilder([FpStateGenerator()], '.fpState.dart');