Flutter_bcrypt library not working

Anybody using it ?
When I added this library to pubspec I have build error.
Settings:
environment:
sdk: “>=2.7.0 <3.0.0”

dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.1
flutter_bcrypt: ^1.0.5
error:
e: D:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_bcrypt-1.0.5\android\src\main\kotlin\be\appmire\flutter_bcrypt\FlutterBcryptPlugin.kt: (138, 31): Type mismatch: inferred type is String? but String was expected

Ok, I changed to password_hash.
It is working fine.

1 Like