flutter_easyloading icon indicating copy to clipboard operation
flutter_easyloading copied to clipboard

How to add logo company at top loading icaditor

Open nguyenthao1988 opened this issue 2 years ago • 5 comments

nguyenthao1988 avatar Aug 12 '22 00:08 nguyenthao1988

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

github-actions[bot] avatar Aug 12 '22 00:08 github-actions[bot]

To do this set the EasyLoading.instance.indicatorWidget to point to a custom widget that you have created. You can copy one of the existing indicators and just customize it to your needs.

sleewok avatar Aug 22 '22 19:08 sleewok

@sleewok thanks for support

nguyenthao1988 avatar Aug 23 '22 00:08 nguyenthao1988

if you have a solution, can you please share a code example? @sleewok @nguyenthao1988

SalsabeelaHasan avatar Aug 25 '22 03:08 SalsabeelaHasan

Hopefully this helps:

void configEasyLoading() { EasyLoading.instance ..backgroundColor = Colors.transparent ..progressColor = Colors.white ..indicatorWidget = MySpinKitRing(color: Colors.blue) ..boxShadow = <BoxShadow>[] // removes black background ..loadingStyle = EasyLoadingStyle.light ..textColor = Colors.black ..indicatorColor = Colors.blue // color of animated loader ..maskColor = Colors.white.withOpacity(0.75) ..maskType = EasyLoadingMaskType.custom ..radius = 180 ..loadingStyle = EasyLoadingStyle.custom ..userInteractions = true ..dismissOnTap = true; }

sleewok avatar Aug 25 '22 10:08 sleewok