52 lines
1.4 KiB
Dart
52 lines
1.4 KiB
Dart
/*
|
|
* @Author: zhangdongxue zhangdongxue@uz.cn
|
|
* @Date: 2022-05-27 15:24:22
|
|
* @LastEditors: zhangdongxue zhangdongxue@uz.cn
|
|
* @LastEditTime: 2022-05-27 15:29:11
|
|
* @FilePath: /gl_dao/lib/pages/store/widget/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,
|
|
),
|
|
),
|
|
],
|
|
);
|
|
}
|
|
}
|