JsonConfigData class

Json View Configuration Data

Constructors

JsonConfigData({JsonColorScheme? color, JsonStyleScheme? style, EdgeInsets? itemPadding, bool? animation, Duration? animationDuration, Curve? animationCurve, int? gap})
Json View Configuration Data
JsonConfigData.fallback(BuildContext context)
fallback JsonConfigData
factory
JsonConfigData.fromJsonView(JsonView view)
JsonConfigData.fromJsonViewBody(JsonViewBody body)

Properties

animation bool?
has animation
final
animationCurve Curve?
default is Curves.ease
final
animationDuration Duration?
default is 300 milliseconds
final
color JsonColorScheme?
color scheme of json view
final
gap int?
json list gap, default is 100
final
hashCode int
The hash code for this object.
no setteroverride
itemPadding EdgeInsets?
item padding, default is EdgeInsets.only(left: 8)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style JsonStyleScheme?
the style of json view
final

Methods

copyWith({JsonColorScheme? color, JsonStyleScheme? style, bool? animation, EdgeInsets? itemPadding, Duration? animationDuration, Curve? animationCurve, int? gap}) JsonConfigData
copy another JsonConfigData
merge(JsonConfigData? data) JsonConfigData
merge another JsonConfigData
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

Static Methods

defaultColor(BuildContext context) JsonColorScheme
default color scheme
defaultStyle(BuildContext context) JsonStyleScheme
default style scheme

Constants

kAnimationCurve → const Cubic
default animation curve
kAnimationDuration → const Duration
default animation duration
kGap → const int
kItemPadding → const EdgeInsets
default item padding
kUseAnimation → const bool
default use animation