json_view 0.4.2 json_view: ^0.4.2 copied to clipboard
A json preview package that has a not bad performance. lazy load json tree node that cause less jank. Support display large list json data like chrome dev tool.
json_view #
A json preview package that has a not bad performance. lazy load json tree node that cause less jank. Support display large list json data like chrome dev tool.
Highlight #
- 👑 json type highlight.
- 🔆 lazy load large list & map.
- 🚀 not bad performance.
- 📦 only depend on flutter.
Usage #
- simple usage
JsonView(json: data)
- customize style
JsonConfig(
/// your customize configuration
data: JsonConfigData(
animation: true,
animationDuration: Duration(milliseconds: 300),
animationCurve: Curves.ease,
itemPadding: EdgeInsets.only(left: 8),
color: JsonColorScheme(
stringColor: Colors.grey,
),
style: JsonStyleScheme(
arrow: const Icon(Icons.arrow_right),
)
),
/// any widget will contain jsonView
child: ...,
)
API reference #
ROADMAP #
- ❌ add
TESTS
- ❌ override
ListTile
&MapTile
didChangeDependencies
Some thing went wrong 🤔 #
create a new issue & welcome create a pull request