flutter / flutter/flutter

[iPhone Duo] Flutter app should be able to adjust UI for half-open state

Open
#193,034 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

platform-ios team-ios
Dominant language
Dart
Stars
179k
Forks
31.6k
PR merge metrics
PR metrics pending

Description

Use case

When iPhone Duo is completely opened in landscape mode, a typical native app would show a master details split, just like an iPad:

Image

When the phone is half-opened, it adjusts the UI to have the 2 pages to each occupy half of the screen:

Image

In the flutter app below, the middle region is split between 2 screens with creese in the middle, which is ugly.

Image
Proposal

Flutter apps should be able to do this, either manually adjust or out-of-box from framework or 3rd party packages.

In order to support this, iOS embedder should pipe this state to the framework.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the iOS embedder communicates device state to the Flutter framework. Define how the half-open state should be exposed so apps or packages can adjust their layout. Done means Flutter apps can receive this state and use it to present an appropriate split layout.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, ios
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.