build method

  1. @override
T build()
override

Builds the initial state for this hook.

Called once when the hook is first created. The returned value becomes the state of this hook.

Implementation

@override
T build() => creator();