builder property

Widget Function(BuildContext context, EnvironmentConfig config) builder
final

A builder function that receives the current BuildContext, the EnvironmentConfig object, and a dummy argument (_) provided by ValueListenableBuilder. You can use the config object to access environment-specific settings and build the UI accordingly.

This parameter is mandatory and must not be null.

Implementation

final Widget Function(
  BuildContext context,
  EnvironmentConfig config,
) builder;