1
0
mirror of https://github.com/git-touch/git-touch synced 2025-02-13 10:00:43 +01:00
2020-02-08 15:06:36 +08:00

22 lines
479 B
Dart

import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
class Loading extends StatelessWidget {
final bool more;
Loading({this.more = false});
@override
Widget build(BuildContext context) {
return Center(
child: Padding(
padding: EdgeInsets.symmetric(vertical: more ? 20 : 100),
child: SizedBox(
width: 24,
height: 24,
child: CircularProgressIndicator(),
),
),
);
}
}