同步数据
This commit is contained in:
51
lib/pages/store/index/components/offline_title.dart
Normal file
51
lib/pages/store/index/components/offline_title.dart
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* @Author: zhangdongxue zhangdongxue@uz.cn
|
||||
* @Date: 2022-05-27 15:24:22
|
||||
* @LastEditors: Aimee
|
||||
* @LastEditTime: 2022-05-31 13:51:19
|
||||
* @FilePath: /gl_dao/lib/pages/store/index/components/offline_title.dart
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
*/
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../../../../main_color.dart';
|
||||
|
||||
class OfflineTitleWidget extends StatelessWidget {
|
||||
final String title;
|
||||
final String des;
|
||||
const OfflineTitleWidget(this.title, this.des, {Key? key}) : super(key: key);
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Row(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
title,
|
||||
style: const TextStyle(
|
||||
color: tTextColor333,
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 14),
|
||||
const Text(
|
||||
'|',
|
||||
style: TextStyle(
|
||||
color: tTextColor999,
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w500,
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 6),
|
||||
Text(
|
||||
des,
|
||||
style: const TextStyle(
|
||||
color: tTextColor999,
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w500,
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user