flutter_easyloading icon indicating copy to clipboard operation
flutter_easyloading copied to clipboard

'overlayEntry != null': You should call EasyLoading.init() in your MaterialApp

Open gxtai opened this issue 2 years ago • 10 comments

flutter_boost中使用,初始化不成功

image

gxtai avatar Nov 03 '21 10:11 gxtai

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

github-actions[bot] avatar Nov 03 '21 10:11 github-actions[bot]

For me what worked was:

MaterialApp(
    debugShowCheckedModeBanner: false,
    ....
    builder: (context, child) {
        return EasyLoading.init()(context, child);
    },
)

Since the init method returns a function, it needs to be called, in order for it to be started.

ramonvic avatar Nov 17 '21 10:11 ramonvic

I don't resolve problem

gamcho3 avatar Jan 24 '22 08:01 gamcho3

For me what worked was:

MaterialApp(
    debugShowCheckedModeBanner: false,
    ....
    builder: (context, child) {
        return EasyLoading.init()(context, child);
    },
)

Since the init method returns a function, it needs to be called, in order for it to be started.

我试了,还是不行

gxtai avatar Jan 25 '22 08:01 gxtai

I don't resolve problem

我也是

gxtai avatar Jan 25 '22 08:01 gxtai

Same issue here

haoyuant avatar Feb 15 '22 05:02 haoyuant

help

Liberations avatar Mar 29 '22 01:03 Liberations

see #83

Liberations avatar Mar 29 '22 01:03 Liberations

help me ! i try #83 but still not work

steven-gao avatar Dec 26 '23 07:12 steven-gao