refactor, remove peer type

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-01-22 20:23:11 +08:00
parent d46b4c2123
commit 87a2705ba5
2 changed files with 57 additions and 80 deletions

View File

@@ -831,7 +831,7 @@ class _TabState extends State<_Tab> with RestorationMixin {
return ConstrainedBox(
constraints: BoxConstraints(maxWidth: widget.maxLabelWidth ?? 200),
child: Text(
translate(widget.label.value),
widget.label.value,
textAlign: TextAlign.center,
style: TextStyle(
color: isSelected