CubixBuilder<TCubix extends Cubix> constructor
Null safety
- {Key? key,
- required CreateCubix<
TCubix> create, - Object? family,
- bool buildWhen( )?,
- bool transient = false,
- required Widget builder(
- BuildContext context,
- TCubix cubix
Implementation
const CubixBuilder({
Key? key,
required this.create,
this.family,
this.buildWhen,
/// remove cubix automatically when the widget is disposed
this.transient = false,
required this.builder,
}) : super(key: key);