bgrgv / jsonPretty

A simple Flutter app to pretty print JSON

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Follow

jsonPretty

Flutter-Web application for JSON formatting

Requirements :

  • Flutter

  • Chrome for hot restart on web

  • Flutter Web is still in beta and isn't production ready yet.

  • Guide to set up Flutter for web :

    Make sure that you have Flutter v1.12 or above Run the follwing commands to enable Flutter web support :

  • 1.flutter channel beta

  • 2.flutter upgrade

  • 3.flutter config --enable-web

To run locally:

  • For development :
    • Clone this repo
    • Inside the repo, run flutter run -d chrome
  • For running the build :
    • Extract th build.zip file from repo
    • Serve files using any local server

Notes

  • Opening web link(s) [ in /lib/screens/views.dart line:38] is currently implemented using dart:html which is a web only implementation. Use url_launcher to implement the same for other platforms.

About

A simple Flutter app to pretty print JSON


Languages

Language:Dart 80.6%Language:HTML 12.9%Language:Swift 4.6%Language:Kotlin 1.5%Language:Objective-C 0.4%