FLUTTER ECOSYSTEM

mayankkushal/flutter_json_viewer

JSON 객체를 표시하는 위젯

flutter_json_viewer 프로젝트 이미지
Stars
7
Forks
10
최근 푸시(UTC)
2022. 6. 23.
프로젝트 상태
활성
Mayank Kushal GitHub avatar
GITHUB User

Mayank Kushal ↗

India
언어DartHTMLSwiftShellKotlinObjective-C

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 2 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

flutter_json_viewer

A Json viewer widget for flutter. Updated with null safety and added support for Array in the root level.

Forked from flutter_json_widget

Using the library

The /example/ folder in the GitHub repo

contains a full Flutter app with demo examples.

Use this package as a library on Dart dev

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:

flutter_json_viewer: ^1.0.1

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_json_viewer/flutter_json_viewer.dart';

4. Show it

Container(
    child: JsonViewer(jsonObj)
)

Demo

Demo