Tired of copy and pasting print key hash function in kotlin code to get KeyHash. Here is Flutter Facebook Key Hash Package thats help you generate key hash without going into kotlin code.
-Just copy and paste below code int statefull widget.
@override void initState() { super.initState(); printKeyHash(); } void printKeyHash() async{ String? key=await FlutterFacebookKeyhash.getFaceBookKeyHash ?? 'Unknown platform version'; print(key??""); }