Stream Chatty added as example (#21)

* app updated

* readme updated

* rename base folder

* update chatty's readme

Co-authored-by: Neevash Ramdial <[email protected]>
This commit is contained in:
Diego Velásquez López
2021-03-10 14:53:20 -04:00
committed by GitHub
co-authored by Neevash Ramdial
parent c86652dcfc
commit bd6bb66279
111 changed files with 3806 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
import 'package:flutter/material.dart';
class LoadingView extends StatelessWidget {
final bool isLoading;
final Widget child;
const LoadingView({
Key key,
@required this.child,
this.isLoading = false,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Stack(
children: [
child,
if (isLoading)
Container(
color: Colors.black26,
child: Center(
child: CircularProgressIndicator(),
),
),
],
),
);
}
}