nanoloaders 0.2.4 copy "nanoloaders: ^0.2.4" to clipboard
nanoloaders: ^0.2.4 copied to clipboard

PlatformiOS

A Flutter plugin for device compatibility gating with remote server checks, loading screens, and in-app browser redirects.

nanoloaders #

A lightweight Flutter plugin that provides a smooth loading experience for your app. Shows a beautiful loading screen while performing initial configuration and setup in the background.

Features #

  • Customizable loading screen with remote image support
  • Background initialization and configuration checks
  • Smooth fade animations during loading
  • Automatic caching for faster subsequent launches
  • Debug mode for development

Getting Started #

Wrap your app with NanoloadersGate to add a loading screen:

import 'package:flutter/material.dart';
import 'package:nanoloaders/nanoloaders.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(
    NanoloadersGate(
      config: const NanoloadersConfig(
        baseAddress: 'https://your-app.com',
        configKey: 'your-config-key',
        imagePath: '/images/splash.jpg',
      ),
      child: const MyApp(),
    ),
  );
}

Configuration #

Parameter Description Default
baseAddress Base address for loading resources required
configKey Configuration key for the app required
imagePath Path to the loading image required
imageDownloadTimeoutSeconds Timeout for image download 10
debugMode Enable debug logging false

Platform Support #

Platform Support
iOS Yes
0
likes
125
points
114
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for device compatibility gating with remote server checks, loading screens, and in-app browser redirects.

Documentation

API reference

License

MIT (license)

Dependencies

ffi, flutter, http, plugin_platform_interface, shared_preferences, url_launcher, uuid

More

Packages that depend on nanoloaders

Packages that implement nanoloaders