wasabeef/Blurry

Blurry not working in Flutter Activity's decorView.

AbhishekTaparia opened this issue · 2 comments

Bug Reporting

Blurry is not working when I am using Flutter activity's decorView

Steps to Reproduce

I want to add blurry effect on my whole activity, So I an using activity.getWindow().getDecorView() to set as ViewGroup.

Blurry.with(getApplicationContext())
            .radius(25)
            .sampling(2)
            .animate(500)
            .onto((ViewGroup) this.getWindow().getDecorView());

Now I get right results in my native code application, but when I used same code in flutter android app it is not working.
I did check and I am getting the correct MainActivity from Flutter.

Actual Results (include screenshots)

This is a screenshot from native code application.
I want Blurry effect in flutter application as well like I got in native application.

Screenshot_20210301_131926

Expected Results (include screenshots)

This is a screenshot from native code application where it is working.
Screenshot_20210226_193755

URL

OS details

  • Device: vivo 1819
  • OS: FunTouch OS_10

Please add relevant labels

Same happening to me as well.

Any update on this?