Skip to content

Commit d2a15fb

Browse files
committed
chore: remove dead code in extensions.dart
1 parent a41ef35 commit d2a15fb

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/utils/extensions.dart

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -307,12 +307,3 @@ extension ThemeDataExt on ThemeData {
307307

308308
Color get secondary => colorScheme.secondary;
309309
}
310-
311-
extension StateExt on State {
312-
void setSafeState(VoidCallback cb) {
313-
if (mounted) {
314-
// ignore: invalid_use_xof_protected_member
315-
setState(cb);
316-
}
317-
}
318-
}

0 commit comments

Comments
 (0)