CustomWidgetBuilder typedef

Widget CustomWidgetBuilder (
  1. Element element
)

A callback to render custom widget for a DOM element.

This is suitable for fairly simple widget. Please note that you have to handle the DOM element and its children manually, if the children have HTML styling etc., they won't be processed at all. For those needs, a custom WidgetFactory is the way to go.

Implementation

typedef CustomWidgetBuilder = Widget Function(dom.Element element);