DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to port a Flutter app layout to iPhone Duo with Iphone Duo Skills

Adapt a Flutter app using the layout reasoning and the bridge guidance in the Flutter skill.

Short answer: Run npx skills add mirzaaghazadeh/iphone-duo-skills --skill iphone-duo-flutter; then run npx skills add mirzaaghazadeh/iphone-duo-skills --skill iphone-duo-design-review; ask the agent to read iphone-duo-flutter first, then review your screens with the design review skill. All steps.

Who it is forA Flutter developer whose app needs to run well on iPhone Duo and who has learned that the fold data is not exposed in the usual place.

The problemFlutter's MediaQuery.displayFeatures is documented as populated only on Android, so it returns an empty list on iPhone Duo. Developers may look for fold data there and get nothing.

The outcomeA plan that separates what works in Flutter today from what needs a platform channel to a native iOS layer.

What you need first

  • An AI coding agent such as Claude Code, Cursor or Gemini
  • Node.js with npx, since the README install uses npx
  • An existing app or design to work on, native iOS or a supported cross-platform stack
  • For native work, Xcode with the iOS 27.1 SDK, which the README calls the gate for edge-to-edge content, vertical bars, reserved regions and arrangements

Steps

  1. Run npx skills add mirzaaghazadeh/iphone-duo-skills --skill iphone-duo-flutter (inferred, check the README)
  2. Run npx skills add mirzaaghazadeh/iphone-duo-skills --skill iphone-duo-design-review (inferred, check the README)
  3. Ask the agent to read iphone-duo-flutter first, then review your screens with the design review skill.
  4. Identify any fold-state needs and plan a bridge through platform channels.
  5. Test your layout on a physical iPhone Duo.

Prompt for your agent

Using the iphone-duo-flutter and iphone-duo-design-review skills from mirzaaghazadeh/iphone-duo-skills, review <path-to-flutter-project> for code that relies on MediaQuery.displayFeatures or other fold data. Output a list of what works now in Flutter and what needs a platform channel, and verify that no suggested fix depends on displayFeatures returning fold data on iOS.

Caveat. The README says neither Flutter nor React Native supports iPhone Duo yet, so bridged features will need native iOS code and testing.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for mirzaaghazadeh/iphone-duo-skills and "Port a Flutter app layout to iPhone Duo"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer