flutter_easyloading icon indicating copy to clipboard operation
flutter_easyloading copied to clipboard

EasyLoading instance backgroundColor not working

Open hyeonsik5692 opened this issue 4 years ago • 5 comments

Other colors are applicable. When backgroundColor = Colors.transparent is set, the color is not applied.

hyeonsik5692 avatar Sep 06 '21 05:09 hyeonsik5692

Thanks for taking the time to open an issue. I will have a look and answer as soon as possible.

github-actions[bot] avatar Sep 06 '21 05:09 github-actions[bot]

Me too

sondt2709 avatar Sep 06 '21 07:09 sondt2709

I need transparent bg as well

princestha avatar Oct 05 '21 17:10 princestha

Please add ..boxShadow = <BoxShadow>[] to your code.

Final code: EasyLoading.instance ..displayDuration = const Duration(milliseconds: 2000) ..loadingStyle = EasyLoadingStyle.custom ..indicatorSize = 60 ..textColor = Colors.black ..radius = 20 ..backgroundColor = Colors.transparent ..maskColor = Colors.white ..indicatorColor = Colors.black54 ..userInteractions = false ..dismissOnTap = false ..boxShadow = <BoxShadow>[] ..indicatorType = EasyLoadingIndicatorType.cubeGrid;

BBarisKilic avatar Oct 12 '21 13:10 BBarisKilic

This works. Thank you so much.

princestha avatar Oct 13 '21 18:10 princestha