ArcaneFieldWrapper<T> constructor

const ArcaneFieldWrapper<T>({
  1. Key? key,
  2. required PylonBuilder builder,
  3. bool overrideTileScaffold = false,
})

Constructs an ArcaneFieldWrapper instance with the required builder and optional scaffold override.

The builder parameter is mandatory and defines the widget factory for the field's content based on its value. It initializes the reactive rendering pipeline.

The overrideTileScaffold parameter defaults to false, enabling the standard ListTile-based layout. Set to true to bypass this and use a plain Pylon for custom scaffolding. This affects how the field value and metadata are presented without altering the underlying Pylon state management.

The key parameter follows standard Flutter conventions for widget identification and optimization.

Implementation

const ArcaneFieldWrapper(
    {super.key, required this.builder, this.overrideTileScaffold = false});