-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowcustomer: dream (g3)engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specifically
Description
FlutterView is black until the isolate can load and run the Flutter app. To allow users to customize the color (or even assign a drawable), FlutterActivityDelegate renders a view on top of the FlutterView until the first frame is rendered.
It would be great if this trick was not necessary and FlutterView itself could support customizing what's being shown on the canvas until the Flutter frame is rendered.
The rationale is that apps would have to copy/paste this trick in add-to-app use cases such as:
- Adding FlutterView to a Fragment
- Adding FlutterView to a custom activity
Metadata
Metadata
Assignees
Labels
a: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowcustomer: dream (g3)engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specifically