You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.2 KiB

4 years ago
import 'package:flutter/material.dart';
import 'package:huixiang/view_widget/rotate_container.dart';
class LoadingView extends StatelessWidget {
4 years ago
4 years ago
@override
Widget build(BuildContext context) {
return Material(
type: MaterialType.transparency,
child: Center(
child: Container(
width: 130,
height: 130,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(8),
color: Color(0xE6000000),
),
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
RotateContainer(
rotated: true,
child: Image.asset(
"assets/image/icon_header_loading.png",
4 years ago
width: 35,
height: 35,
4 years ago
),
),
Text(
"正在加载",
style: TextStyle(
color: Color(0xB3FFFFFF),
fontSize: 16,
fontWeight: FontWeight.bold,
),
)
],
),
),
),
);
}
}