12 |
13 | An widget that can show loaders, notifications, internet connectivity changes as `Overlay`.
14 |
15 | ### Screenshots
16 |
17 |
18 |
19 | ### Demo
20 |
21 |
22 |
23 |
24 |
25 | ### Installation
26 |
27 | ```yaml
28 | dependencies:
29 | flutter:
30 | sdk: flutter
31 | ...
32 |
33 | ots:
34 | git:
35 | url: git://github.com/fayaz07/ots.git
36 | ```
37 |
38 | ### How to use
39 |
40 | ```dart
41 | void main() => runApp(
42 | MyApp(),
43 | );
44 |
45 | class MyApp extends StatelessWidget {
46 | @override
47 | Widget build(BuildContext context) {
48 | return OTS(
49 | showNetworkUpdates: true,
50 | persistNoInternetNotification: false,
51 |
52 | /// pass your custom loader here
53 | loader: CircularProgressIndicator(
54 | valueColor: AlwaysStoppedAnimationMohammad Fayaz 💻 🖋 📖 💡 🤔 🚧 |
189 | Alex Deas 💻 |
190 | Pranathi Reddy 💻 |
191 | Aster 💻 |
192 | lscbot 💻 |
193 | Antoni Remeseiro Alfonso 💻 |
194 |