37 lines
997 B
Dart
Raw Normal View History

2023-07-10 17:50:31 +08:00
import 'package:flutter/cupertino.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
2023-11-28 13:47:49 +08:00
import 'package:get/get.dart';
import 'package:star_lock/app_settings/app_colors.dart';
2023-07-10 17:50:31 +08:00
2023-11-28 13:47:49 +08:00
import '../translations/trans_lib.dart';
2023-07-10 17:50:31 +08:00
class NoData extends StatelessWidget {
2023-07-15 15:11:28 +08:00
const NoData({Key? key}) : super(key: key);
2023-07-10 17:50:31 +08:00
@override
Widget build(BuildContext context) {
return SizedBox(
width: 1.sw,
height: 1.sh - ScreenUtil().statusBarHeight,
// height: 1.sw,
2023-07-10 17:50:31 +08:00
child: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
'images/icon_noData.png',
width: 160.w,
height: 180.h,
),
Text(
2023-11-28 13:47:49 +08:00
TranslationLoader.lanKeys!.noData!.tr,
style:
TextStyle(color: AppColors.darkGrayTextColor, fontSize: 22.sp),
)
],
)),
2023-07-10 17:50:31 +08:00
);
}
}