Skip to content

Commit

Permalink
feat: remove context.pop()
Browse files Browse the repository at this point in the history
  • Loading branch information
maxzod committed Mar 3, 2024
1 parent f82ecc2 commit 74a83e6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/flutter_readable/lib/src/context/navigator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ extension RContextNavigator on BuildContext {
/// shortcut for `Navigator.of(context).canPop()`
bool get canPop => navigator.canPop();

/// shortcut for `Navigator.of(context).pop()`
void pop<T extends Object?>() => navigator.pop();

/// shortcut for `FocusScopeNode.of(context)`
FocusScopeNode get focusScope => FocusScope.of(this);

Expand Down

0 comments on commit 74a83e6

Please sign in to comment.