[iPhone Duo] Flutter app should be able to adjust UI for half-open state
Nobody has claimed this yet.
- 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:
When the phone is half-opened, it adjusts the UI to have the 2 pages to each occupy half of the screen:
In the flutter app below, the middle region is split between 2 screens with creese in the middle, which is ugly.
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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