first commit
This commit is contained in:
21
moehu/moehu_fontend/lib/widget/PageAnimation.dart
Normal file
21
moehu/moehu_fontend/lib/widget/PageAnimation.dart
Normal file
@@ -0,0 +1,21 @@
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:peach/config/Colors.dart';
|
||||
import 'package:peach/utils/Screen.dart';
|
||||
|
||||
/*
|
||||
* 组件加载时的动画
|
||||
*/
|
||||
class PageAnimation extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
height: Screen.height(context),
|
||||
width: Screen.width(context),
|
||||
child: CupertinoActivityIndicator(
|
||||
radius: 10,
|
||||
),
|
||||
color: ColorConfig.WhiteBackColor,
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user