flutter_facebook_keyhash

Flutter-FaceBook-KeyHash

Fedoff copy and pasting print key hash function in kotlin code to get KeyHash. Here is Flutter Facebook Keyhash Package thats help you genrating keyhash without going into kotlin code.

Very simple to use

-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??"");

  }