Flutter: generating UML automatically

Fredric Cliver
1 min readDec 11, 2019

--

Install

pub global activate dcdg
Package dcdg is currently active at version 2.0.1.
Resolving dependencies... (9.7s)
+ analyzer 0.36.4 (0.39.2+1 available)
+ args 1.5.2
+ async 2.4.0
+ charcode 1.1.2
+ collection 1.14.12
+ convert 2.1.1
+ crypto 2.1.4
+ csslib 0.16.1
+ dcdg 2.0.1
+ front_end 0.1.19 (0.1.29 available)
+ glob 1.2.0
+ html 0.14.0+3
+ js 0.6.1+1
+ kernel 0.3.19 (0.3.29 available)
+ meta 1.1.8
+ node_interop 1.0.3
+ node_io 1.0.1+2
+ package_config 1.1.0
+ path 1.6.4
+ pedantic 1.9.0
+ pub_semver 1.4.2
+ source_span 1.5.5
+ string_scanner 1.0.5
+ term_glyph 1.1.0
+ typed_data 1.1.6
+ watcher 0.9.7+13
+ yaml 2.2.0
Precompiling executables... (15.4s)
Precompiled dcdg:dcdg.
Installed executable dcdg.
Warning: Pub installs executables into $HOME/.pub-cache/bin, which is not on your path.
You can fix that by adding this to your shell's config file (.bashrc, .bash_profile, etc.):
export PATH="$PATH":"$HOME/.pub-cache/bin"Activated dcdg 2.0.1.

Use

dcdg -o uml.puml

See

Install PlantUML

open the ‘uml.puml’ file

and use keyboard shortcut : option + p

--

--

Fredric Cliver
Fredric Cliver

Written by Fredric Cliver

13+ years in the digital trenches. I decode complex tech concepts into actionable insights, focusing on AI, Software Engineering, and emerging technologies.

No responses yet