![]() But by the end of this tutorial, doing that part should hopefully be easy!įlutter is mainly a UI framework, and so for a lot platform-specific functionality, we usually use plugins, typically created by the Dart and Flutter community, to achieve things such as getting the current battery level, or displaying local notifications. The platform code won't actually call any real native APIs, but rather return some hard-coded data. ![]() In this tutorial, we will create a Flutter plugin which targets the Android and iOS platforms, and show how to invoke different methods from Dart, pass arguments of different types, and receive and parse results from the host platforms.
0 Comments
Leave a Reply. |