初始化

This commit is contained in:
谢宇宁
2026-09-15 15:44:13 +07:00
commit a23ba685e9
1065 changed files with 101122 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import 'package:flutter/material.dart';
TextStyle textStyle(
double fontSize,
Color color,
FontWeight fontWeight, {
bool isNeedThrough = false,
}) {
return TextStyle(
color: color, fontSize: fontSize.toDouble(), fontWeight: fontWeight, decoration: isNeedThrough ? TextDecoration.lineThrough : null);
}