initialize method

  1. @override
void initialize()
override

Called after this Node is added to the Node tree.

Flowing downwards

Implementation

@override
void initialize() {
  state = widget.createState() as State<T>
    .._widget = widget
    .._context = context
    ..initialize();

  super.initialize();

  _updateStreamSubscription = state.listen(enqueueReassembly);
  state.didMount();
}