FLUTTER ECOSYSTEM

laiiihz/json_view

Um pacote de visualização JSON com desempenho razoável. Carrega lentamente os nós da árvore JSON, causando menos travamentos. Suporta exibição de grandes listas de dados JSON, como as ferramentas de desenvolvedor do Chrome.

Capa do projeto json_view
Stars
10
Forks
5
Último push (UTC)
13 de jun. de 2023
Status do projeto
Ativo
LAIIIHZ GitHub avatar
GITHUB User

LAIIIHZ ↗

flutter & dart developer

hangzhou,China
LinguagensDartHTMLSwiftKotlinObjective-C

Tópicos técnicos

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 3 itens
  • flutter{"sdk":"flutter"}
  • flutter_lintsDesenvolvimento^2.0.1
  • flutter_testDesenvolvimento{"sdk":"flutter"}

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher README

json_view

Pub Version Pub Popularity Pub Points Pub Publisher

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.

./resources/preview.png

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

pub.dev/documentation

ROADMAP

  • [ ] add TESTS
  • [ ] override ListTile & MapTile didChangeDependencies

Some thing went wrong 🤔

create a new issue & welcome create a pull request