Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.13 KB

README.md

File metadata and controls

58 lines (40 loc) · 1.13 KB

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 ️❤️