PrettyUtil class
Constructors
- PrettyUtil(int maxBoxWidth)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxBoxWidth → int
-
盒子宽度
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
log(
List< String> list, {String? colorStr}) → void - 美化颜色并输出数据
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prettyBoxHeader(
{required String header, required String url}) → List< String> -
格式化盒子头部
header
头部内容url
api地址 -
prettyMap(
Map< String, dynamic> ? map) → List<String> - 格式化map
-
prettySubHeader(
String text) → String - 格式化副标题
-
prettyToStr(
dynamic message) → List< String> - 美化为格式化字符串 未避免影响数据格式的美观,不对长数据进行超限换行处理
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited