FluidBuilder<T extends Fluid> constructor
const
FluidBuilder<T extends Fluid> ({
- required FluidChildBuilder<
T> builder, - FluidFactory<
T> ? fluidFactory, - Key? key,
Creates a FluidBuilder using the given FluidFactory and provides it to the FluidChildBuilder. If the FluidFactory is null the closest fluid ancestor of the same type will be used
Implementation
const FluidBuilder({
required this.builder,
this.fluidFactory,
Key? key,
}) : super(key: key);