Skip to content

Commit

Permalink
fix: Fixing typos. #27
Browse files Browse the repository at this point in the history
  • Loading branch information
LuchoTurtle committed Dec 15, 2022
1 parent 82435e7 commit 11d5e1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ class Menu extends HookConsumerWidget {
/// By retrieving the [Todo] through a provider instead of through its
/// constructor, this allows [TodoItem] to be instantiated using the `const` keyword.
///
/// This encapuslation ensures that when adding/removing/editing todos,
/// This encapsulation ensures that when adding/removing/editing todos,
/// only what the impacted widgets rebuilds, instead of the entire list of items.
final _currentTodo = Provider<Todo>((ref) => throw UnimplementedError());
Expand Down Expand Up @@ -785,7 +785,7 @@ When it taps/focusing,
the description becomes editable.

They can edit by changing
the text and then unfocussing
the text and then unfocusing
(e.g. tapping away from the `TodoItem` widget).

```dart
Expand Down
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class Menu extends HookConsumerWidget {
/// By retrieving the [Todo] through a provider instead of through its
/// constructor, this allows [TodoItem] to be instantiated using the `const` keyword.
///
/// This encapuslation ensures that when adding/removing/editing todos,
/// This encapsulation ensures that when adding/removing/editing todos,
/// only what the impacted widgets rebuilds, instead of the entire list of items.
final _currentTodo = Provider<Todo>((ref) => throw UnimplementedError());

Expand Down

0 comments on commit 11d5e1d

Please sign in to comment.