https://github.com/infyomlabs/flutter-loader
https://github.com/infyomlabs/flutter-loader
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/infyomlabs/flutter-loader
- Owner: InfyOmLabs
- License: gpl-3.0
- Created: 2022-06-06T04:16:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-15T09:43:18.000Z (over 3 years ago)
- Last Synced: 2025-04-13T03:17:00.092Z (8 months ago)
- Language: Java
- Size: 86.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# show_loader_dialog
A new Flutter widget for show and hide loader from android side.
## Features
- showing flutter loader dialog
## Getting started
To use this package, add show_loader_dialog as a dependency in your pubspec.yaml file.
#### Platform Support
| Android | iOS | MacOS | Web | Linux | Windows |
| :-----: | :-: | :---: | :-: | :---: | :-----: |
| ✔️ | ✔️ | | | | |
## Usage
Minimal example:
```dart
ElevatedButton(
onPressed: () {
CommonDialog.showLoader(true);
Future.delayed(
const Duration(seconds: 5),
() {
CommonDialog.showLoader(false);
},
);
},
child: const Text("show loader"),
),
```