ConfigureOptionsImageGenerator constructor

ConfigureOptionsImageGenerator(
  1. ImageGenerator innerGenerator, {
  2. required ImageGenerationOptions configure(
    1. ImageGenerationOptions options
    ),
})

Creates a new ConfigureOptionsImageGenerator.

configure is called before each request to modify the options.

Implementation

ConfigureOptionsImageGenerator(
  super.innerGenerator, {
  required this.configure,
});