FLUTTER ECOSYSTEM

aligorithm/easy_loader

Flutter में एक सरल पूर्ण-स्क्रीन लोडर को हैंडल करने का सबसे आसान तरीका। डार्ट में लिखा गया।

easy_loader प्रोजेक्ट कवर
Stars
5
Forks
3
अंतिम पुश (UTC)
2 दिस॰ 2021
प्रोजेक्ट स्थिति
सक्रिय
Aliyu Yisa GitHub avatar
GITHUB User

Aliyu Yisa ↗

Learn, experiment, build!

University of SalfordGreater Manchester
भाषाएँDartHTMLSwiftKotlinObjective-C

तकनीकी विषय

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 2 आइटम
  • flutter{"sdk":"flutter"}
  • flutter_testडेवलपमेंट{"sdk":"flutter"}

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

EasyLoader

The easiest way to handle a simple full screen loader in Flutter. Written in Dart. Fully customizable.

Screenshot

Getting Started

Add this to your package's pubspec.yaml file

dependencies:
  easy_loader: ^1.0.3

Usage

Next, you just have to import the package using:

import 'package:easy_loader/easy_loader.dart';

Then wrap your body within a Stack and place the EasyLoader() widget at the end of the Stack

  Widget build(BuildContext context) {
    return Scaffold(
      //// Wrap your body in a stack
      body: Stack(
        children: <Widget>[
          Center(
            child: Text("Lorem Ipsum"),
          ),
          //// Put the loader widget at the end of the stack. You can set it to appear based on a boolean. E.g. a loading flag.
          EasyLoader(image: AssetImage('assets/loading.png'),)
        ],
      ),
    );
  }

All done! You can customize other things like the icon size, background color, icon color and the animation by passing the values into the constructor.