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.
 
 
 
 
 
 

40 lines
1.1 KiB

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class LoadingView extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Material(
type: MaterialType.transparency,
child: Center(
child: Container(
width: 130.w,
height: 130.h,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(8),
color: Color(0xE6000000),
),
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
CupertinoActivityIndicator(
animating: true,
),
Text(
S.of(context).zhengzaijiazai,
style: TextStyle(
color: Color(0xB3FFFFFF),
fontSize: 16,
fontWeight: FontWeight.bold,
),
)
],
),
),
),
);
}
}