render method

  1. @protected
DomNodePatch? render({
  1. required Widget widget,
})

Render hook.

This hook gets called exactly once during lifetime of an element. This hook can optionally return a patch which will be applied on dom node associated with the current element(if there's any).

Implementation

@protected
DomNodePatch? render({required Widget widget}) => null;