ueman / passkit

Various Dart & Flutter packages to work with Apple's PassKit
16 stars 3 forks source link

FullSize ui #100

Closed bugrevealingbme closed 2 weeks ago

bugrevealingbme commented 2 weeks ago

Package

passkit_ui

Problem Statement

Why is Width limited? How can I make it full screen?

Solution Brainstorm

double.infinity

Are you willing to submit a PR?

None

ueman commented 2 weeks ago

I'm not sure if I understand the proposal since it's very brief, can you elaborate?

In general, the package as of now tries to replicate the UI that the Apple Wallet app uses. Feel free to create a PR for everything that goes beyond that, and I'm happy to review it.

bugrevealingbme commented 2 weeks ago

The card sizes are not full. Why limited?

telegram-cloud-photo-size-4-5884270586576881881-y

ueman commented 2 weeks ago

The card sizes are not full. Why limited?

As said, the package as of now tries to replicate the UI that the Apple Wallet app uses. If you need other sizes, just use a FittedBox to scale it according to your needs.

Your design looks nice, by the way.

bugrevealingbme commented 2 weeks ago

Thanks, solved. When using hero animation, fonts are corrupted and a yellow line appears. How do I fix this problem?

ueman commented 2 weeks ago

That's a problem unrelated to this package. Please take a look at https://github.com/flutter/flutter/issues/30647 for example