2019-01-31 08:23:52 +01:00
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
|
|
|
|
class Loading extends StatelessWidget {
|
|
|
|
|
2022-09-06 18:28:12 +02:00
|
|
|
const Loading({this.more = false});
|
2022-09-21 18:28:21 +02:00
|
|
|
final bool more;
|
2020-10-03 08:37:06 +02:00
|
|
|
|
2019-01-31 08:23:52 +01:00
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
2019-09-29 16:10:15 +02:00
|
|
|
return Center(
|
|
|
|
child: Padding(
|
|
|
|
padding: EdgeInsets.symmetric(vertical: more ? 20 : 100),
|
2022-09-17 14:35:45 +02:00
|
|
|
child: const CupertinoActivityIndicator(radius: 12),
|
2019-09-29 16:10:15 +02:00
|
|
|
),
|
|
|
|
);
|
2019-01-31 08:23:52 +01:00
|
|
|
}
|
|
|
|
}
|