This is a package which helps we can start loader from anywhere of our code.

Overview

global_loader

A Flutter Package which will start Global Loader from any where in your code.

Screenshots

Usage

Example

To use this package:

    dependencies:
      flutter:
        sdk: flutter
      global_loader: ^0.0.1

How to use

   
class HomePage extends StatefulWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  _HomePageState createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  GlobalLoader globalLoader = new GlobalLoader();
  
 

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Row(
          mainAxisAlignment: MainAxisAlignment.spaceEvenly,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            InkWell(
                onTap: () {
                  // This code helps fancy loader.
                  globalLoader.startFancyLoader(60,60);


                },
                child: Container(
                    alignment: Alignment.center,
                    height: 50,
                    width: 150,
                    decoration: BoxDecoration(
                        color: Colors.blue,
                        borderRadius: BorderRadius.circular(20)),
                    child: Text(
                      "Start",
                      style: TextStyle(
                          color: Colors.white,
                          fontSize: 18,
                          fontWeight: FontWeight.bold),
                    ))),
            InkWell(
                onTap: () {
                    // this line will stop your current loader.
                  globalLoader.stop();
                },
                child: Container(
                    alignment: Alignment.center,
                    height: 50,
                    width: 150,
                    decoration: BoxDecoration(
                        color: Colors.blue,
                        borderRadius: BorderRadius.circular(20)),
                    child: Text(
                      "Stop",
                      style: TextStyle(
                          color: Colors.white,
                          fontSize: 18,
                          fontWeight: FontWeight.bold),
                    )))
          ],
        ),
      ),
    );
  }
}

Getting Started

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

You might also like...

ClinicO is an android mobile application which helps in smooth scheduling of appointments at clinics/hospitals.

ClinicO ClinicO is an android moblile application which can be downloaded from here. Problem Statement Nowadays, whenever we fall ill, we visit the do

Feb 14, 2022

This is our school project that written with Flutter.

This is our school project that written with Flutter.

fit_diet This is our school project that written with Flutter. Team: Burak Arslan (Scrum Master) Cem Gümüş (Bussiness Analyst) Rahim Gökçeli (Mobile D

Oct 31, 2022

A discord bot, made with Dart, which lets you run your own pure Dart code snippets directly via a discord ping, and get the output in an instant.

A discord bot, made with Dart, which lets you run your own pure Dart code snippets directly via a discord ping, and get the output in an instant.

A discord bot, made with Dart, which lets you run your own pure Dart code snippets directly via a discord ping, and get the output in an instant.

Oct 21, 2022

A simple easy to use Flutter DApp , which keeps a track of all your day to day transactions by using Ethereum blockchain in the background which in turn increases your credit score.

A simple easy to use Flutter DApp , which keeps a track of all your day to day transactions by using Ethereum blockchain in the background which in turn increases your credit score.

Sahayog A simple easy to use Flutter DApp , which keeps a track of all your day to day transactions by using Ethereum blockchain in the background whi

May 21, 2022

Plaso Connect is an application which acts as a one-stop solution where the people requiring blood plasma/oxygen can directly find and contact the donors and healthcare units as per their requirements

Plaso Connect is an application which acts as a one-stop solution where the people requiring blood plasma/oxygen can directly find and contact the donors and healthcare units as per their requirements

PLASO CONNECT - The Lifeline A one-stop platform for COVID relief resources -- Connecting patients with Plasma donors and oxygen suppliers. Built for

Oct 28, 2022

Let me go is a mobile application which drivers can be notified when an Ambulance is near to them in a traffic.

Let me go is a mobile application which drivers can be notified when an Ambulance is near to them in a traffic.

Let Me Go Let Me Go is a mobile application which was build in order to notify vehicle drivers when an ambulance is near to them within a specific dis

Dec 19, 2021

This is an example app in which the backdrop can be expanded or contracted with a swipe gesture.

This is an example app in which the backdrop can be expanded or contracted with a swipe gesture.

Swipe to Expand backdrop example Example app to demonstrate the ability to expand or contract backdrop using a swipe gesture Demo Installing Clone thi

Jul 24, 2020

An App Built using flutter using which we can share books with people around us !!

An App Built using flutter using which we can share books with people around us !!

📚 Book-Donation-App 📚 An App Built using flutter using which we can share books with people around us !! Features: ✨ A book Sharing App. This app he

Dec 22, 2022

A Simple Todo app design in Flutter to keep track of your task on daily basis. Its build on BLoC Pattern. You can add a project, labels, and due-date to your task also you can sort your task on the basis of project, label, and dates

A Simple Todo app design in Flutter to keep track of your task on daily basis. Its build on BLoC Pattern. You can add a project, labels, and due-date to your task also you can sort your task on the basis of project, label, and dates

WhatTodo Life can feel overwhelming. But it doesn’t have to. A Simple To-do app design in flutter to keep track of your task on daily basis. You can a

Jan 6, 2023
Owner
chandan pradhan
Associate Application Engineer at Capermint Techlogies Pvt. Ltd. Hire Me?:- Email:- [email protected]
chandan pradhan
The official country code picker from Tellurium by Quadren. Designed with our in-house Aurum design system.

The official country code picker from Tellurium by Quadren. Designed with our in-house Aurum design system. Features Supports searching for country co

Quadren 2 Aug 9, 2022
Kind of app that generally used to maintain our day-to-day tasks or list everything that we have to do.We can add more tasks at any time and delete a task that is completed.

todo_application A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Khaled Elnkhla 0 Nov 6, 2021
A Package providing Core functionality/Template to start off a Clean Architecture based project

A Package providing Core functionality/Template to start off a Clean Architecture based project Features Provides with APIResult & UseCaseResult model

null 1 Dec 25, 2021
A Flutter Starter Kit (Boilerplate) to kick-start your next Android and iOS app

Flutter Starter Kit (Boilerplate) using the BLoC Pattern A Flutter starter application that utilizes the BLoC Pattern. You can read more at this Mediu

AceLords 233 Dec 28, 2022
A Flutter project for beginner to start contributing in this Hacktoberfest.

HacktoberFest21-Flutter-GDSC-IIITV This Repo is for beginner to start contributing to open source (Flutter) in this HacktoberFest 2k21. Edit the 'data

IIIT Vadodara Open Source 11 Oct 4, 2022
About This is Personal Expenses Planner. You can add your expenses in to the app and manage your transaction. and you can see How much did you spend on which day. I developed this project using flutter.

expense_planner A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Darshit Rudani 5 Jul 6, 2022
A mobile image uploader in which you can upload image to your personal gallery from either your camera or mobile gallery and it can detect your current geographic location and address using firebase firestore and storage.

Image Uploader In Flutter About It is an Image Uploader gallery which tracks your address from which you're uploading using Flutter and Image picker.

Prahen parija 6 Dec 20, 2022
This is a smart farming app which helps farmers to remotely monitor their crop and take necessary actions. It also has a feature called disease detection.

Smart-Farming-App This is a smart farming app which helps farmers to remotely monitor their crop and take necessary actions. It has features called di

Nihar Shah 2 Jul 9, 2022
This is a bot built with Dart lang which helps you people a simple task and have fun

TeleBot This is a bot built with Dart lang which helps you people a simple task and have fun Command supported /jokes - get a random joke ?? /insult -

Rexford Asamoah 10 Oct 25, 2022