RenderObjectToWidgetAdapter<T extends RenderObject> constructor

RenderObjectToWidgetAdapter<T extends RenderObject>({
  1. Widget? child,
  2. required RenderObjectWithChildMixin<T> container,
  3. String? debugShortDescription,
})

Creates a bridge from a RenderObject to an Element tree.

Implementation

RenderObjectToWidgetAdapter({
  this.child,
  required this.container,
  this.debugShortDescription,
}) : super(key: GlobalObjectKey(container));