createState abstract method

HookState<T, Hook<T>> createState()

Called when HookState of this Hook needs to be created.

This will be called only during the first build.

Implementation

HookState<T, Hook<T>> createState();