@ -54,7 +54,7 @@ class _TemplateDetailsViewState extends State<TemplateDetailsView> {
onPressed: ( ) = > Get . back ( ) ,
) ,
title: Text (
' 模版详情 ' ,
' templateDetails ' . tr , / / 模 版 详 情
style: TextStyle (
fontSize: 17. sp ,
fontWeight: FontWeight . w600 ,
@ -87,7 +87,7 @@ class _TemplateDetailsViewState extends State<TemplateDetailsView> {
Padding (
padding: EdgeInsets . only ( top: 20. w , bottom: 5. w ) ,
child: Text (
' 标签 ' ,
' tag ' . tr , / / 标 签
style: TextStyle (
fontSize: 12. sp ,
fontWeight: FontWeight . bold ,
@ -122,7 +122,7 @@ class _TemplateDetailsViewState extends State<TemplateDetailsView> {
Padding (
padding: EdgeInsets . only ( top: 20. w , bottom: 5. w ) ,
child: Text (
' 描述 ' ,
' description ' . tr , / / 描 述
style: TextStyle (
fontSize: 12. sp ,
fontWeight: FontWeight . bold ,
@ -140,7 +140,7 @@ class _TemplateDetailsViewState extends State<TemplateDetailsView> {
Padding (
padding: EdgeInsets . only ( top: 20. w , bottom: 5. w ) ,
child: Text (
' 模版 ' ,
' template ' . tr , / / 模 版
style: TextStyle (
fontSize: 12. sp ,
fontWeight: FontWeight . bold ,
@ -187,7 +187,7 @@ class _TemplateDetailsViewState extends State<TemplateDetailsView> {
) ,
) ,
child: Text (
' 修改 ' ,
' edit ' . tr , / / 编 辑
style: TextStyle (
fontSize: 16. sp ,
color: isDarkMode ? Colors . white : Colors . black ,
@ -205,13 +205,13 @@ class _TemplateDetailsViewState extends State<TemplateDetailsView> {
backgroundColor:
isDarkMode ? Colors . grey [ 900 ] : Colors . white ,
title: Text (
' 删除模版 ' ,
' deleteTemplate ' . tr , / / 删 除 模 版
style: TextStyle (
color: isDarkMode ? Colors . white : Colors . black87 ,
) ,
) ,
content: Text (
' 确定要删除当前模版吗? ' ,
' deleteTemplateConfirm ' . tr , / / 确 定 要 删 除 当 前 模 版 吗 ?
style: TextStyle (
color: isDarkMode
? Colors . grey [ 400 ]
@ -266,7 +266,7 @@ class _TemplateDetailsViewState extends State<TemplateDetailsView> {
borderRadius: BorderRadius . circular ( 12. r ) ,
) ,
child: Text (
' 删除 ' ,
' delete ' . tr , / / 删 除
style: TextStyle (
fontSize: 16. sp ,
color: Colors . white ,