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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:huixiang/view_widget/rotate_container.dart';
|
|
|
|
|
|
|
|
class LoadingView extends StatelessWidget {
|
|
|
|
|
|
|
|
@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",
|
|
|
|
width: 35,
|
|
|
|
height: 35,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Text(
|
|
|
|
"正在加载",
|
|
|
|
style: TextStyle(
|
|
|
|
color: Color(0xB3FFFFFF),
|
|
|
|
fontSize: 16,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|