JsonStyleScheme class
json style scheem
Constructors
- JsonStyleScheme({TextStyle? keysStyle = const TextStyle(), TextStyle? valuesStyle = const TextStyle(), JsonQuotation? quotation = const JsonQuotation(), Widget? arrow, bool? openAtStart = false, int depth = 0})
-
Json style scheme
const
Properties
- arrow → Widget?
-
the arrow widget
final
- depth → int
-
the default open depth of json.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- keysStyle → TextStyle?
-
text style for keys
final
- openAtStart → bool?
-
default set to false, this may cause performance issue when rendering
large json list or map.
final
- quotation → JsonQuotation?
-
add double quotation on keys or not. default set to false
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- valuesStyle → TextStyle?
-
text style for values
final
Methods
-
copyWith(
{TextStyle? keysStyle, TextStyle? valuesStyle, JsonQuotation? quotation, Widget? arrow, bool? openAtStart, int? depth}) → JsonStyleScheme - copy another JsonStyleScheme
-
merge(
JsonStyleScheme? scheme) → JsonStyleScheme - merge another JsonStyleScheme
-
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.
override