build method Null safety
- Widget builder(
- BuildContext context,
- TCubit cubix
- {Object? family,
- bool transient = false}
build a widget with specified T cubix
Implementation
Widget build(
Widget Function(BuildContext context, TCubit cubix) builder, {
Object? family,
/// remove cubix automatically when the widget is disposed
bool transient = false,
}) {
return CubixBuilder<TCubit>(
create: this,
builder: builder,
family: family,
transient: transient,
);
}