September 2019
Beginner
512 pages
12h 52m
English
Flutter's PlatformView is a widget that embeds an Android/iOS native view and integrates it in the Flutter widget tree. Platform views are stateful widgets that control the resources associated with the platform's native view. As for embedding, this kind of view is an expensive task, so it should be used with caution, and only if really necessary. You can use it to display maps, for example, as Flutter does not have an equivalent widget that displays a map on its own.
Platform views are important pieces in frameworks such as Flutter, as they enable you to fill some gaps during the evolution of the framework. However, there are some points associated with this that you may need to consider before using it:
Read now
Unlock full access