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.
48 lines
1.5 KiB
48 lines
1.5 KiB
import 'package:flutter/material.dart';
|
|
import 'package:get/get.dart';
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
import '../../../../data/models/appconfig.dart';
|
|
|
|
class GoodsFooterSection extends StatelessWidget {
|
|
final bool isDarkMode;
|
|
const GoodsFooterSection({super.key, required this.isDarkMode});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
final subColor = isDarkMode ? Colors.white60 : Colors.grey[600];
|
|
final qq = AppConfig.env('iapCustomerServiceQQ') ?? '';
|
|
return Padding(
|
|
padding: EdgeInsets.symmetric(vertical: 12.h),
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: [
|
|
SizedBox(
|
|
width: double.infinity,
|
|
child: Divider(color: isDarkMode ? Colors.white24 : Colors.black12),
|
|
),
|
|
SizedBox(height: 8.h),
|
|
Text(
|
|
'appNameProvider'.tr,
|
|
textAlign: TextAlign.center,
|
|
style: TextStyle(fontSize: 11.sp, color: subColor),
|
|
),
|
|
SizedBox(height: 4.h),
|
|
if (qq.isNotEmpty) ...[
|
|
Text(
|
|
'iapCustomerServiceQQLabel'.trParams({'qq': qq}),
|
|
textAlign: TextAlign.center,
|
|
style: TextStyle(fontSize: 11.sp, color: subColor),
|
|
),
|
|
SizedBox(height: 4.h),
|
|
],
|
|
// SizedBox(height: 4.h),
|
|
Text(
|
|
'copyrightVoitrans'.tr,
|
|
textAlign: TextAlign.center,
|
|
style: TextStyle(fontSize: 11.sp, color: subColor),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|
|
|