defaultChildFactory<T extends ChildHandleType> method
T
defaultChildFactory<T extends ChildHandleType>({
- required Object id,
- required InflatingRenderObjectMixin<
RenderObject, InflatingParentData< parent,RenderObject> , InflatedChildHandle> - RenderObject? render,
- Widget? widget,
The default childFactory, returns a base InflatedChildHandle for all types.
Implementation
T defaultChildFactory<T extends ChildHandleType>({
required Object id,
required InflatingRenderObjectMixin parent,
RenderObject? render,
Widget? widget,
}) {
return InflatedChildHandle(
id: id,
parent: this,
widget: widget,
render: render,
) as T;
}