initHook method
- @protected
- @mustCallSuper
Called once, at the first use of the hook, before build; inherited widgets are depended on in build, which every build calls. When it throws, the state is not kept, nor disposed: the next build creates another.
Implementation
@protected
@mustCallSuper
void initHook() {}