Skip to content

Conversation

@Azzeccagarbugli
Copy link
Contributor

Adjust Dynamic Island logo for iPhone 17 / Air models

With the arrival of the iPhone 17 lineup, logos that live behind the Dynamic Island need proper alignment. Without support, the logo was just not being shown on the newest iPhones. This change ensures a reasonable default layout.

Moreover we are relying on the new ClipRSuperellipse to clip more correctly the content behind the Dynamic Island, respecting the Human Interface Guidelines.

Testing:

  • Run the app on an iPhone 17 / iPhone Air / iPhone 17 Pro / Max (or simulator)
  • Confirm the logo appears behind the Dynamic Island and looks centered
  • Compare appearance with iPhone 16 Pro to ensure consistency

Copy link
Owner

@ueman ueman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is great!

right: config.horizontal,
// TODO(ueman): Use ClipRSuperellipse eventually?
child: ClipRRect(
child: ClipRSuperellipse(
Copy link
Owner

@ueman ueman Oct 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to set a constraint on the lower end of supported Flutter versions. Otherwise, we might allow this to be used on older Flutter versions, even though it's not actually supported.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair point, though maybe we can safely assume that users won’t be running it on Flutter versions that old. What do you think? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ueman let me know what you would like to do regarding this 🥹

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants