过时组件显示优化,数据库结构优化

This commit is contained in:
toly
2021-04-03 16:25:11 +08:00
parent 269f610d18
commit 8a3ab24e8b
27 changed files with 318 additions and 231 deletions

View File

@@ -119,9 +119,11 @@ class CouponWidgetListItem extends StatelessWidget {
Expanded(
child: Text(data.name,
overflow: TextOverflow.ellipsis,
style: const TextStyle(
style: TextStyle(
fontSize: 17,
fontWeight: FontWeight.bold,
decoration: (data.deprecated)?TextDecoration.lineThrough:TextDecoration.none,
decorationThickness: 2,
shadows: [
Shadow(color: Colors.white, offset: Offset(.3, .3))
])),

View File

@@ -118,9 +118,11 @@ class SimpleWidgetListItem extends StatelessWidget {
Expanded(
child: Text(data.name,
overflow: TextOverflow.ellipsis,
style: const TextStyle(
style: TextStyle(
fontSize: 17,
fontWeight: FontWeight.bold,
decoration: (data.deprecated)?TextDecoration.lineThrough:TextDecoration.none,
decorationThickness: 2,
shadows: [
Shadow(color: Colors.white, offset: Offset(.3, .3))
])),

View File

@@ -112,9 +112,11 @@ class TechnoWidgetListItem extends StatelessWidget {
Expanded(
child: Text(data.name,
overflow: TextOverflow.ellipsis,
style: const TextStyle(
style: TextStyle(
fontSize: 17,
fontWeight: FontWeight.bold,
decoration: (data.deprecated)?TextDecoration.lineThrough:TextDecoration.none,
decorationThickness: 2,
shadows: [
Shadow(color: Colors.white, offset: Offset(.3, .3))
])),