Search packages, repositories and app categories

overlay_loader_with_app_icon cover
Package detailsv0.0.4

overlay_loader_with_app_icon

A flutter package that shows a beautiful overlay loader with appIcon when initiating an async call.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
360
Likes
86
Pub points
130

Install package

flutter pub add overlay_loader_with_app_icon

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package that displays a visually appealing overlay loader featuring the app's icon during asynchronous operations. It provides a clean, user-friendly way to indicate loading states without disrupting the UI flow. The loader appears centered over the current screen and can be easily controlled via simple API calls. Designed for seamless integration across multiple platforms, it enhances user experience during data fetching or background processing.

Use cases

  • Showing loading state during API calls
  • Indicating progress in form submissions
  • Enhancing UX during data synchronization
  • Displaying app icon during async operations
  • Providing visual feedback in mobile and web apps

Key features

  • Displays app icon in the loader
  • Customizable overlay appearance
  • Simple API for showing/hiding loader
  • Cross-platform compatibility
  • Supports all major Flutter platforms
  • Non-intrusive UI design

Suitable for

  • Developers seeking elegant loading indicators
  • Apps requiring consistent loading UX
  • Projects targeting multiple platforms
  • Teams prioritizing user experience
  • Frontend developers using Flutter

Considerations

  • Requires proper context handling
  • May need customization for complex layouts
  • Not suitable for very short operations
  • Should be used sparingly to avoid UX fatigue
  • Depends on correct asset configuration

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Overlay loader with app icon

A clean and light-weight package that shows a beautiful overlay loader with appIcon when initiating an async call.

Demo App

Getting started

Example

Add package to pubspec.yaml

dependencies:
  ...
  overlay_loader_with_app_icon:

Next, import the library into your widget.

import 'package:overlay_loader_with_app_icon/overlay_loader_with_app_icon.dart';

Usage

To make an async call and display a modal with an appIcon progress indicator while the async call is taking place, wrap [OverlayLoaderWithAppIcon] around any widget. Using the [isLoading] boolean variable, the progress loader can be enabled or disabled.


bool _loading = false;
@override
Widget build(BuildContext context) {
  return Scaffold(
    body: OverlayLoaderWithAppIcon(
        isLoading: _loading,
        appIcon:  Image.asset('images/appIcon.png'),
        child: Container(
       child: Form(...)
    )),
  );
}

More Options

The current parameters are customizable in the constructor

OverlayLoaderWithAppIcon({
  required this.isLoading, 
  required this.child, 
  required this.appIcon, 
  this.appIconSize=50,
  this.borderRadius=15, 
  this.overlayOpacity=0.5, 
  this.circularProgressColor, 
  this.overlayBackgroundColor
});

Thank you for using my package😊🙏🏻

If you need more features

Please open an issue so that we can discuss it

Categories

Source repository

Projects using this package

No data available yet.