MyUtil_c class

Constructors

MyUtil_c()

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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

random Random
final

Static Methods

awaySetColor(Color? useColor, Color fromColor, int sub, {bool toUpper = true}) Color
useColorfromColor保持 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
useColorfromColor保持 sub 以内 的距离
randomTimeDelayed({required Duration minDuration, required Duration maxDuration}) Future<void>
minDuration - maxDuration 之间随机取值延时等待
shiftColor(Color color, int shift) Color
tryParseFullUri(String in_url) Uri?