CommentTools class

Constructors

CommentTools()

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

formartNum(num target, int postion, {bool isCrop = false}) String
formatNum(double num, {int postion = 2}) String
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 Methods

chinaPhoneNumber(String input) bool
commentcomFormat(int value, String format, String single, String full) String
com format.
commentformatDate(DateTime? dateTime, {String? format}) String
configImageasset(String path, double? width, double? height, {String accets = '', BoxFit fit = BoxFit.none}) Image
configlineSpace({double height = 0.5, Color color = CommentColorS.cole5e5e5}) Widget
configyyyymmdd(int year, int m, int d) String
getImagePath(String name, {String format = 'png'}) String
获取图片地址
keydissmiss(BuildContext context) → dynamic
messageTime(int timeStamp) String