September 2019
Beginner
512 pages
12h 52m
English
When we create a platform view widget, we basically create a Flutter wrapper of a native iOS/Android view. The process of creating a platform view is similar to plugins and requires adding native code to an application.
To keep things simple, we create a plugin project; see Chapter 9, Developing Your Own Flutter Plugin, to remember how to create a plugin project. In this project, we define a new view, HandsOnTextView, which is a native text displaying view (TextView on Android and UITextView on iOS).
To begin with, after the plugin project is created, we define the Dart API. This is the code that makes the bridge from Dart to native ...
Read now
Unlock full access