samples icon indicating copy to clipboard operation
samples copied to clipboard

Wish for a sample of a non-fullscreen Flutter view displayed from a full SwiftUI app

Open sethladd opened this issue 1 year ago • 2 comments

Use case

Adding Flutter into an existing app, such as one built with SwiftUI, is an important part of the journey for experimenting with Flutter and using flutter to reduce code duplication across your existing apps.

Proposal

The case of embedding some shared non-fullscreen UI into your app is one case we want to show an example of, presumably through one of the samples in https://github.com/flutter/samples/tree/main/add_to_app

The proposal here is to show some simple scrolling SwiftUI based list. And one of the views scrolling in and out of view is a Flutter widget.

A sample like this really drives home that you can put Flutter inside of your existing SwiftUI. And it would complement other samples that are full-screen embeddings of Flutter inside a SwiftUI app.

sethladd avatar Aug 28 '24 01:08 sethladd

cc @hellohuanlin as we were chatting about this. No action needs to be taken right now.

sethladd avatar Aug 28 '24 01:08 sethladd

fyi @jmagman

sethladd avatar Aug 28 '24 02:08 sethladd