Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flutter hive 2.2.3 hive-2.2.3/lib/src/hive_impl.dart:119:9: Error: The getter 'unrethrow' isn't defined for the class 'HiveImpl'. #1136

Open
zhoushuangjian001 opened this issue Jan 7, 2023 · 0 comments
Labels
problem An unconfirmed bug.

Comments

@zhoushuangjian001
Copy link

Error1: /hive-2.2.3/lib/src/hive_impl.dart:119:9: Error: The getter 'unrethrow' isn't defined
for the class 'HiveImpl'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'unrethrow'.
unrethrow;

Error2: hive-2.2.3/lib/src/hive_impl.dart:61:22: Error: A non-null value must be returned
since the return type 'BoxBase' doesn't allow null.
- 'BoxBase' is from 'package:hive/hive.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/hive-2.2.3/lib/hive.dart').
Future<BoxBase> _openBox(

flutter --version
Flutter 3.3.10 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 135454af32 (3 weeks ago) • 2022-12-15 07:36:55 -0800
Engine • revision 3316dd8728
Tools • Dart 2.18.6 • DevTools 2.15.0

flutter doctor
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.74.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

@zhoushuangjian001 zhoushuangjian001 added the problem An unconfirmed bug. label Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem An unconfirmed bug.
Projects
None yet
Development

No branches or pull requests

1 participant