Skip to content

Commit

Permalink
Fix: dispose methods show that need to be overrided
Browse files Browse the repository at this point in the history
  • Loading branch information
CatHood0 committed Aug 23, 2024
1 parent 67c6045 commit b7508ed
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/src/spell_checker_interface/abtract_checker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ abstract class Checker<T extends Object, R>
}

/// Use dispose when you don't need the SimpleSpellchecker already
@visibleForOverriding
@override
void dispose() {
if (!_simpleSpellCheckerWidgetsState.isClosed)
Expand All @@ -134,7 +133,6 @@ abstract class Checker<T extends Object, R>
}

/// Use disposeControllers is just never will be use the StreamControllers
@visibleForOverriding
@override
void disposeControllers() {
if (!_simpleSpellCheckerWidgetsState.isClosed)
Expand Down Expand Up @@ -233,7 +231,6 @@ abstract class Checker<T extends Object, R>

/// Verify if [Checker] is not disposed yet
@protected
@visibleForOverriding
void verifyState() {
if (!_disposedControllers) {
assert(
Expand Down

0 comments on commit b7508ed

Please sign in to comment.