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 blur barrier background like ios #112

Open
nguyenthao1988 opened this issue Aug 26, 2022 · 4 comments
Open

How to blur barrier background like ios #112

nguyenthao1988 opened this issue Aug 26, 2022 · 4 comments

Comments

@nguyenthao1988
Copy link

No description provided.

@mandrake99
Copy link

on the Show method, i made the following local changes to the library to create that effect,

import 'dart:ui' show ImageFilter;

transitionBuilder: (
BuildContext context,
Animation animation,
Animation secondaryAnimation,
Widget child,
) =>
BackdropFilter(
filter: ImageFilter.blur(
sigmaX: 4 * animation.value, sigmaY: 4 * animation.value),
child: _showAnimation(animation, secondaryAnimation, child)),

@nguyenthao1988
Copy link
Author

Thanks for sharing.

@marcos930807
Copy link
Owner

i will add this behavior in next releases.

@nguyenthao1988
Copy link
Author

nguyenthao1988 commented Nov 10, 2022

Thank @marcos930807 . Your lib is awesome

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

3 participants