mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-03-12 02:06:17 -05:00
18 lines
382 B
Dart
18 lines
382 B
Dart
import 'package:flutter/cupertino.dart';
|
|
|
|
class Loading extends StatelessWidget {
|
|
final bool more;
|
|
|
|
const Loading({this.more = false});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Center(
|
|
child: Padding(
|
|
padding: EdgeInsets.symmetric(vertical: more ? 20 : 100),
|
|
child: const CupertinoActivityIndicator(radius: 12),
|
|
),
|
|
);
|
|
}
|
|
}
|