git-touch-android-ios-app/lib/widgets/loading.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),
),
);
}
}