MoleculeBuilder<T> constructor Null safety

MoleculeBuilder<T>(
  1. {required Widget builder(
    1. BuildContext context,
    2. T value
    ),
  2. required Molecule molecule,
  3. Key? key}
)

Constructor. builder the builder function. molecule the Molecule to use the value of.

Implementation

MoleculeBuilder({required this.builder, required this.molecule, Key? key})
    : super(key: key);