1
0
Fork 0
forked from Nexus/nexus
nexus/lib/widgets/loading.dart
Henry-Hiles d2ec5f035b
treewide: use dot shorthands where possible
Now this feature is stable, we should use it. I might have missed some usecases, but these can be added in future commits.
2026-06-02 12:50:56 -04:00

14 lines
343 B
Dart

import "package:flutter/material.dart";
class Loading extends StatelessWidget {
final double? height;
const Loading({this.height, super.key});
@override
Widget build(BuildContext context) => Center(
child: Padding(
padding: .all(16),
child: SizedBox(height: height, child: CircularProgressIndicator()),
),
);
}