build method

  1. @override
Component build(
  1. Binding binding
)
override

Implementation

@override
Component build(Binding binding) {
  _state ??= (component).createState();
  _state!._component = component;
  _state!._binding = this;
  _state!.initState();
  if (binding._owner != null && binding.key is GlobalKey) {
    (binding.key as GlobalKey).binding = this;
    _owner!.addState(state);
  }
  return _state!.build(binding);
}