We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
HookWidget
HookElement
1 parent 13048ca commit 7b9e7d6Copy full SHA for 7b9e7d6
1 file changed
packages/flutter_hooks/lib/src/framework.dart
@@ -216,7 +216,7 @@ Calling them outside of build method leads to an unstable state and is therefore
216
/// HookState createState() => _MyHookState();
217
/// ```
218
///
219
- /// The framework can call this method multiple times over the lifetime of a [HookElement]. For example,
+ /// The framework can call this method multiple times over the lifetime of a [HookWidget]. For example,
220
/// if the hook is used multiple times, a separate [HookState] must be created for each usage.
221
@protected
222
HookState<R, Hook<R>> createState();
0 commit comments