Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.9.0 oppo colorOS 14.0 Android14列表item有时会空白 #561

Closed
Bter opened this issue Apr 18, 2024 · 3 comments
Closed

5.9.0 oppo colorOS 14.0 Android14列表item有时会空白 #561

Bter opened this issue Apr 18, 2024 · 3 comments

Comments

@Bter
Copy link

Bter commented Apr 18, 2024

![有问题的时候]

![正常的时候]

@Bter
Copy link
Author

Bter commented Apr 18, 2024

问题同 #529

@Bter Bter closed this as not planned Won't fix, can't repro, duplicate, stale Apr 18, 2024
@Bter
Copy link
Author

Bter commented Apr 18, 2024

解决方案 #558 (comment)

@Bter Bter closed this as completed Apr 18, 2024
@lizhuoyuan
Copy link
Collaborator

试试
final designSize = const Size(412, 892);

ScreenUtilInit(
designSize: designSize,
fontSizeResolver: (fontSize, instance) {
final display = View.of(context).display;
final screenSize = display.size / display.devicePixelRatio;
final scaleWidth = screenSize.width / designSize.width;

        return fontSize * scaleWidth;
      },
      builder: (context, _) {
          return MaterialApp.....

})

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

No branches or pull requests

2 participants