Closed olers closed 1 year ago
It appears that flutter_easyloading is drawing a background that covers the transparency effect. To get your transparent background back, you can wrap your MyAppBody
widget in a DecoratedBox
with backgroundBlendMode: BlendMode.clear
like this:
⋮
home: DecoratedBox(
decoration: BoxDecoration(
color: Colors.transparent,
backgroundBlendMode: BlendMode.clear,
),
child: MyAppBody(),
),
builder: EasyLoading.init(),
⋮
It seems that both flutter_acrylic and flutter_easyloading work correctly this way:
It appears that flutter_easyloading is drawing a background that covers the transparency effect. To get your transparent background back, you can wrap your
MyAppBody
widget in aDecoreatedBox
withbackgroundBlendMode: BlendMode.clear
like this:⋮ home: DecoratedBox( decoration: BoxDecoration( color: Colors.transparent, backgroundBlendMode: BlendMode.clear, ), child: MyAppBody(), ), builder: EasyLoading.init(), ⋮
It seems that both flutter_acrylic and flutter_easyloading work correctly this way:
Yeah! It works. The flutter_acrylic and flutter_easyloading both work correctly! Thank you so much!
I have imported flutter_easyloading in the current MacOS desktop application. The initialization operations of this package are:
After
builder: EasyLoading.init(),
,theflutter_acrylic
doesn't work.