Initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// Flutter Packages
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// A circular progress indicator that spins when the [Stream] is loading.
|
||||
///
|
||||
/// Used when the [Stream] is loading the first time.
|
||||
class InitialLoader extends StatelessWidget {
|
||||
/// Creates a circular progress indicator that spins when the [Stream] is
|
||||
/// loading.
|
||||
///
|
||||
/// Used when the [Stream] is loading the first time.
|
||||
const InitialLoader({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return const Center(
|
||||
child: CircularProgressIndicator.adaptive(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user