IntX extension
- on
Properties
Methods
-
add(
int other) → int -
padLeft(
int width, [String padding = '']) → String - 左补齐
-
padRight(
int width, [String padding = '']) → String - 右补齐
-
repeat(
Future< void> callback()) → void - 重复执行任务
-
subtract(
int other) → int -
toCh(
) → String - 转汉字
-
toDateTime(
) → DateTime - 时间戳转时间
-
toEn(
) → String - 转英文
-
toFormattedString(
String format) → String - 时间转为格式化字符串