json_view library

Classes

ColonSpan
JsonColorScheme
Json Color Scheme
JsonConfig
JsonConfigData
Json View Configuration Data
JsonQuotation
Describes how object keys are quoted when rendered.
JsonStringView
JsonStyleScheme
Text, expansion, and parsing behavior for a JsonView.
JsonView
Displays a JSON-compatible object as an expandable Flutter tree.
JsonViewBody
Non-scrolling variant of JsonView that lays out all expanded rows in a Column. Intended for embedding inside an existing scroll view.
JsonViewController
Controls expansion state and scroll position for a JsonView.
KeySpan
KeyValueTile
ValueSpan

Enums

JsonDecodeStrategy
Strategy used by JsonView.fromJsonString to decode raw JSON text.

Constants

defaultDarkColorScheme → const JsonColorScheme
Default dark color scheme.
defaultLightColorScheme → const JsonColorScheme
Default light color scheme.

Functions

defaultDateTimeSerializer(DateTime? value) String?
A default DateTimeSerializer that converts a DateTime to a serializable String.

Typedefs

DateTimeSerializer = String? Function(DateTime? value)
Converts a DateTime to a serializable String.
JsonDecodeErrorBuilder = Widget Function(BuildContext context, Object error, StackTrace stackTrace)
JsonTileBuilder = Widget Function(BuildContext context, String key, dynamic value, JsonConfigData config, int depth)
SpanBuilder = InlineSpan Function(BuildContext context, dynamic value)
ValueBuilder = InlineSpan Function(BuildContext context, TextStyle? style)