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

How to change background color. #21

Open
Hirosan28 opened this issue Jan 7, 2025 · 2 comments
Open

How to change background color. #21

Hirosan28 opened this issue Jan 7, 2025 · 2 comments

Comments

@Hirosan28
Copy link

The background on the screen is black, how do I change it to another color?

@CorvusYe
Copy link
Member

CorvusYe commented Jan 7, 2025

Perhaps the following code would be a good choice.

options = Options()
     // ...
     ..backgroundBuilder = ((context) => Container(
        color: Colors.black,
      ))

@Hirosan28
Copy link
Author

It's done. Thank you!!

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