Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Owner and Founder. Opencart
Top Partners
The frosted glass effect is a cool UI concept in the flutter that makes our UI look more attractive. It is basically a blurred-out overlay with reduced opacity, to distinguish or diminish a certain view. This feature really looks good but it affects the app’s performance. So, let’s see how can we implement the frosted glass effect in flutter.
It is pretty easy to implement in the flutter by using the BackdropFilter() widget along with the ImageFilter class. BackdropFilter() widget in flutter is used to blur images, containers, or many other widgets as well. It works both on iOS and android. It is used to highlight the content which needs more focus and blur the content that needs less focus.
Step1: Create a simple flutter project.
Step2: Create a container and wrap it up with BackdropFilter and ClipRect. Now add a property of backdrop filter, filter: ImageFilter.blur, and add sigma X, sigmaY. Higher the sigmaX and sigmaY, the higher blur.
Step3: Stack up this widget block above an Image to see the effect in work. I used the flutter logo as an image.
That’s it, you can see a blur effect on your image.
Full code:
Thanks for reading this article ❤
If I got something wrong 🙈, let me know in the comments. I would love to improve.
Reference Link: https://mightytechno.com/frosted-glass-effect-in-flutter-app/
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
It was a successful collaboration. The Mobikul team provided the client everything they needed in a timely and high-quality manner. They were very professional, reliable, and accessible during the entire process. The client also saw no room for any improvements in the vendor's performance.
Vincenzo Carrano
Administrator, Segshop
USA
India
Global
Name
Email
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.