diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 2125937..a86c510 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -1,5 +1,6 @@ name: example description: A new Flutter project. +publish_to: none # The following defines the version and build number for your application. # A version number is three numbers separated by dots, like 1.2.43 @@ -20,7 +21,9 @@ dependencies: flutter: sdk: flutter - flutter_easyloading: ^3.0.0 + # flutter_easyloading: ^3.0.0 + flutter_easyloading: + path: ../ # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. diff --git a/lib/src/widgets/loading.dart b/lib/src/widgets/loading.dart index 4b27394..0fd50d6 100644 --- a/lib/src/widgets/loading.dart +++ b/lib/src/widgets/loading.dart @@ -53,6 +53,7 @@ class _FlutterEasyLoadingState extends State { @override Widget build(BuildContext context) { return Material( + color: Colors.transparent, child: Overlay( initialEntries: [ EasyLoadingOverlayEntry(