v1.0.1flutter_json_viewer
用於 Flutter 的 JSON 查看器組件。以可擴展清單形式顯示 JSON 資料,讓手機上的資料輕鬆閱讀。
22喜歡 7690近 30 天下載140Pub 分數
AndroidiOSWebmacOSWindowsLinux
一個用於顯示 JSON 物件的組件
以下為英文專案原文快照,最新內容請造訪 GitHub。
A Json viewer widget for flutter. Updated with null safety and added support for Array in the root level.
Forked from flutter_json_widget
The /example/ folder in the GitHub repo
contains a full Flutter app with demo examples.
Add this to your package's pubspec.yaml file:
dependencies:
flutter_json_viewer: ^1.0.1
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.
Now in your Dart code, you can use:
import 'package:flutter_json_viewer/flutter_json_viewer.dart';
Container(
child: JsonViewer(jsonObj)
)
依賴清單 2 項
{"sdk":"flutter"}{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗