widgetChildren property

List<Widget> widgetChildren

Child widgets of current widget(if any).

Framework will call this getter on two occasions:

  1. When it finishes building current widget and as part of completing the process, it'll check whether widget has children to build and build them if so.

  2. When it finishes updating current widget and as part of completing the process, it'll check whether widget has children to update and update them if so. Note that framework will not check children if widget returns false from Widget.shouldUpdateWidgetChildren.

Implementation

List<Widget> get widgetChildren;