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

There will be a line between two identical Blur components. #9

Open
wp993080086 opened this issue Feb 26, 2024 · 0 comments
Open

There will be a line between two identical Blur components. #9

wp993080086 opened this issue Feb 26, 2024 · 0 comments

Comments

@wp993080086
Copy link

  • describe:

Place two blur components next to each other,Will appear.

  • image:

QQ截图20240226191436

  • code:
Scaffold(
      appBar: AppBar(
          title: const Text('BlurBox', style: TextStyle(color: Colors.black))),
      backgroundColor: Colors.white,
      body: Column(
        children: [
          Blur(
            blur: 2.5,
            blurColor: Theme.of(context).primaryColor,
            child: Padding(
              padding: const EdgeInsets.all(8.0),
              child: Container(
                width: double.infinity,
                height: 100,
                alignment: Alignment.center,
                child: const Text(
                  'Blur1',
                  style: TextStyle(color: Colors.black, fontSize: 16),
                ),
              ),
            ),
          ),
          Blur(
            blur: 2.5,
            blurColor: Theme.of(context).primaryColor,
            child: Padding(
              padding: const EdgeInsets.all(8.0),
              child: Container(
                width: double.infinity,
                height: 100,
                alignment: Alignment.center,
                child: const Text(
                  'Blur2',
                  style: TextStyle(color: Colors.black, fontSize: 16),
                ),
              ),
            ),
          )
        ],
      ),
    );
    ```
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

1 participant