Skip to content
pubscout

load

1.0.0, released 6 years ago by kikt.top

Global loading widget and dialog utility for Flutter.

WASM-ready
$ flutter pub add load
Source repository

What it does

Provides a global loading provider that allows you to show and hide loading dialogs anywhere in your app without passing a BuildContext. It supports custom loading widgets and background tap dismiss behavior.

AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a simple, global loading indicator accessible from anywhere in your app code.
  • You want an alternative to OKToast specifically for loading dialogs.

Skip it when

  • You need complex state management libraries that handle loading states inherently.
  • You prefer route-based dialog management using the Navigator directly.

Strengths

  • No native code required, pure Flutter implementation.
  • Global access without needing a BuildContext.
  • Supports custom loading widgets and configuration themes.

Weaknesses

  • Relies on global functions rather than modern declarative state approaches.
  • Limited to loading indicators and dialogs.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Wrap your application or MaterialApp with the LoadingProvider.

void main() {
  runApp(
    LoadingProvider(
      child: MyApp(),
    ),
  );
}

Alternatives

Packages that do the same job and could replace load.