Flutter local_auth is not working below android 10

Hello folks,

I am trying to implement security lock in to my app using local_auth library, but showing the following error.
PlatformException(NotAvailable, Security credentials not available., null, null)

I am running the example code in android 10 with PIN/Pattern lock,any help most appreciated.

Thanks in advance.