Skip to content

UiKitView is always on top of other widgets on iOSΒ #59751

@sv9988

Description

@sv9988

Hi Flutter Teams,

I have a problem with UiKitView in my app.
When I put UiKitView and a Container inside Stack, the UiKitView is always in front of the Container. This just happen in iOS. I dont know why, please help me this case.
Example code :

return MaterialApp(
  home: Scaffold(
    appBar : AppBar(
      title: Text('Platform View'),
    ),
    body: Stack(
      children: <Widget>[
        UiKitView(
          viewType: 'NativeView',
        ),
        Container(height: 100,width: 100,color: Colors.red,) //Container is stacked by UiKitView
      ],
    ),
  ),
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: platform-viewsEmbedding Android/iOS views in Flutter appsengineflutter/engine related. See also e: labels.found in release: 1.20Found to occur in 1.20has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions