/tiki_flutter_json2dart

Primary LanguageKotlinApache License 2.0Apache-2.0

tiki_flutter_json2dart

Build Version Downloads

Template ToDo list

A plugin for implementing Clean Architecture in Flutter

Convert json model to .dart files with support for json_serializable and null safety

Generate Clean Architecture folder structure

  1. Add dependencies if needed
  2. Right click on the desired directory
  3. Fill in the inputs, adjust setting and press Generate
  4. Using built-in commands

  5. flutter packages pub run build_runner build --delete-conflicting-outputs

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "tiki_flutter_json2dart" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...


Plugin based on the IntelliJ Platform Plugin Template.