nslogx / flutter_easyloading

✨A clean and lightweight loading/toast widget for Flutter, easy to use without context, support iOS、Android and Web

Home Page:https://pub.dev/packages/flutter_easyloading

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

There are black lines at the four corners of the popup box on device

paintingStyle opened this issue · comments

There are black lines at the four corners of the popup box on device

flutter_easyloading: ^3.0.5

image

EasyLoading.instance
      ..displayDuration = const Duration(milliseconds: 3000)
      ..animationDuration = const Duration(milliseconds: 100)
      ..indicatorType = EasyLoadingIndicatorType.circle
      ..loadingStyle = EasyLoadingStyle.custom
      ..animationStyle = EasyLoadingAnimationStyle.offset
      ..toastPosition = EasyLoadingToastPosition.top

      /// loading icon size
      ..indicatorSize = 64.0
      ..radius = 18.0
      ..fontSize = 20.0
      ..textPadding = const EdgeInsets.only(top: 0, bottom: 0)
      ..contentPadding = const EdgeInsets.symmetric(vertical: 20, horizontal: 20)
      ..progressColor = Colors.white
      ..backgroundColor = const Color(0xFF6DBCAC)
      ..indicatorColor = Colors.white
      ..textColor = Colors.white
      ..maskColor = Colors.black45
      ..userInteractions = false

      /// should allow user interactions while loading is displayed.
      ..dismissOnTap = false;


EasyLoading.showToast('msg', duration: duration);

Same for me. It appears only if using loadingStyle = EasyLoadingStyle.custom and setting radius property.

Same here. But I tried what this comment suggested and the black lines gone.