Utilxx_c class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
awaySetColor(Color? useColor, Color fromColor, int sub, {bool toUpper = true})
→ Color
-
让
useColor
和fromColor
保持 sub
以上 的距离
-
countTextWidgetSize(String text, TextStyle style, {int maxLines = 2 ^ 31, double maxWidth = double.infinity})
→ Size
-
计算Text组件的宽高
-
defEmptyFunction_0()
→ void
-
-
defEmptyFunction_1(dynamic _)
→ void
-
-
mergeSort<T>(List<T> list, int fun(T left, T right))
→ List<T>
-
二路归并
-
nearSetColor(Color? useColor, Color fromColor, int sub)
→ Color
-
让
useColor
和fromColor
保持 sub
以内 的距离
-
randomTimeDelayed({required Duration minDuration, required Duration maxDuration})
→ Future<void>
-
在
minDuration
- maxDuration
之间随机取值延时等待
-
shiftColor(Color color, int shift)
→ Color
-
-
tryParseFullUri(String in_url)
→ Uri?
-