JsonShrinkStyle class

@date 25/7/22 describe:

Constructors

JsonShrinkStyle({TextStyle? symbolStyle = const TextStyle(color: Colors.green, fontWeight: FontWeight.bold), TextStyle? keyStyle = const TextStyle(color: Colors.redAccent, fontWeight: FontWeight.bold), TextStyle? numberStyle = const TextStyle(color: Colors.purpleAccent, fontWeight: FontWeight.bold), TextStyle? textStyle = const TextStyle(color: Colors.white), TextStyle? urlStyle = const TextStyle(color: Colors.blue, decoration: TextDecoration.underline), TextStyle? boolStyle = const TextStyle(color: Colors.yellowAccent, fontWeight: FontWeight.bold), TextStyle? indentationStyle = const TextStyle(color: Colors.transparent), Size size = const Size(50, 50)})
normal theme
const
JsonShrinkStyle.light({TextStyle? symbolStyle = const TextStyle(color: Colors.green, fontWeight: FontWeight.bold), TextStyle? keyStyle = const TextStyle(color: Colors.redAccent, fontWeight: FontWeight.bold), TextStyle? numberStyle = const TextStyle(color: Colors.purpleAccent, fontWeight: FontWeight.bold), TextStyle? textStyle = const TextStyle(color: Colors.black), TextStyle? urlStyle = const TextStyle(color: Colors.blue, decoration: TextDecoration.underline), TextStyle? boolStyle = const TextStyle(color: Colors.yellowAccent, fontWeight: FontWeight.bold), TextStyle? indentationStyle = const TextStyle(color: Colors.transparent), Size size = const Size(50, 50)})
light theme
const

Properties

boolStyle TextStyle?
final
hashCode int
The hash code for this object.
no setterinherited
indentationStyle TextStyle?
final
keyStyle TextStyle?
final
numberStyle TextStyle?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
final
symbolStyle TextStyle?
final
textStyle TextStyle?
final
urlStyle TextStyle?
final

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