Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 607 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 607 Bytes

flutter_facebook_keyhash

Flutter-FaceBook-KeyHash

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.

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

  }