sulthanalihsan / brand_circle_loading

A simple circle loading with brand logo inside for flutter

Home Page:https://pub.dev/packages/brand_circle_loading

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brand Circle Loading

Installing

Add this to your package's pubspec.yaml file:

dependencies:
  brand_circle_loading: ^0.0.1

Import

import 'package:brand_circle_loading/brand_circle_loading.dart';

How to use

First, initialize BrandCircleLoading in your Code like this:

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    BrandCircleLoading.init(context, 'images/your_brand_logo.png');
    return Scaffold(
    ...
    );
  }
}

And then, try use like this:

You can call BrandCircleLoading as an Overlay Loading:

BrandCircleLoading().showLoaderOverlay();

or also you can call as a Widget;

BrandCircleLoading().buildWidget();

Changelog

CHANGELOG

License

MIT License ️❤️

About

A simple circle loading with brand logo inside for flutter

https://pub.dev/packages/brand_circle_loading

License:MIT License


Languages

Language:Dart 71.7%Language:HTML 20.6%Language:Swift 5.5%Language:Kotlin 1.7%Language:Objective-C 0.5%