我们如何在颤振中访问平台的本机特性?
例如:如果我们想要获得手机的电池水平,那么我们如何才能得到它呢?
发布于 2022-09-08 08:30:13
为此,您需要使用Platform Channel。以下是该https://docs.flutter.dev/development/platform-integration/platform-channels?tab=type-mappings-kotlin-tab的正式文档
https://stackoverflow.com/questions/73645361
复制相似问题