CaiJingLong / flutter_load_widget

Apache License 2.0
35 stars 13 forks source link

dismissable global setup not working as expected - ^0.1.4 #3

Closed IrvingArmenta-ML closed 5 years ago

IrvingArmenta-ML commented 5 years ago

I setup the LoadingProvider as the latest issue was suggested:

 runApp(LoadingProvider(
    themeData: LoadingThemeData(
      tapDismiss: false,
    ),
    loadingWidgetBuilder: (ctx, data) {
      return MaterialLoading();
    },
    child: Application()));

but it is still dismissable, as if tapDismiss remains true , could you please double test this?

CaiJingLong commented 5 years ago

Because the showLoadingDialog 's param tapDismiss default value is true.

I will remove the default value in next version.

image

CaiJingLong commented 5 years ago

Fixed it at version 0.1.5. Please update the latest version.