How do I interact with the platform, and with platform native code?

Flutter doesn’t run code directly on the underlying platform;
rather, the Dart code that makes up a Flutter app is run natively
on the device, “sidestepping” the SDK provided by the platform.
That means, for example, when you perform a network request in Dart,
it runs directly in the Dart context.
You don’t use the Android or iOS APIs
you normally take advantage of when writing native apps.
Your Flutter app is still hosted in a native app’s
ViewController or Activity as a view,
but you don’t have direct access to this, or the native framework.