Home > Software engineering >  Access native feature of the platform
Access native feature of the platform

Time:09-08

How do we access native feature of the platform in flutter?

For example: If we want to get the battery level of the phone then how can we get it?

CodePudding user response:

You need to use Platform Channel for this. Here is flutter's official documentation for this https://docs.flutter.dev/development/platform-integration/platform-channels?tab=type-mappings-kotlin-tab

  • Related