Skip to content

Support multiple screens #94

@bwikbs

Description

@bwikbs

Background?

There are requirements for multiple screens. There's nothing specific, everything can change, but multiple screens don't change. 😄 So I checked how multi-screen support is going on in Flutter. And I found the following:

https://docs.google.com/document/d/11_4wntz_9IJTQOo_Qhp7QF4RfpIMTfVygtOTxQ4OGHY/edit
https://github.com/flutter/flutter/issues/30701
https://github.com/google/flutter-desktop-embedding/issues/98

IMO, Supporting multiple windows didn't seem to happen soon at this moment. So I decided to look for Plan B.
That is EngineGroup feature.(https://flutter.dev/docs/development/add-to-app/multiple-flutters)
Technically, It’s a little different but I thought It would be able to produce similar looking with multi screen app.
So, I aimed the first step of this task to port sample app(https://github.com/flutter/samples/tree/master/add_to_app/multiple_flutters) at tizen.


EngineGroup

As you can see in the example, this is part of how to embed Flutter in a native app. The best way is to embed Flutter in tizen as one of the GUI widgets , but this is not easy In the current implementation. (Many of our rendering behavior are
based on window)
Here is my rough plan based on these.

  1. Make windows externally and use them. This will allow us to create and place partial windows at single app. (Support partial window engine#98)
  2. Create spawn API in embedder.
  3. Create FlutterEngineGroup API at native API
  4. Port sample app to tizen

(Of course, I am not insisting that this feature should be done this way. Any ideas are welcome. 😄 )

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions