Skip to content

Commit 7b9e7d6

Browse files
committed
revert HookWidgetHookElement change
1 parent 13048ca commit 7b9e7d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/flutter_hooks/lib/src/framework.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Calling them outside of build method leads to an unstable state and is therefore
216216
/// HookState createState() => _MyHookState();
217217
/// ```
218218
///
219-
/// The framework can call this method multiple times over the lifetime of a [HookElement]. For example,
219+
/// The framework can call this method multiple times over the lifetime of a [HookWidget]. For example,
220220
/// if the hook is used multiple times, a separate [HookState] must be created for each usage.
221221
@protected
222222
HookState<R, Hook<R>> createState();

0 commit comments

Comments
 (0)