Closed ybakos closed 1 year ago
build has quite a bit of nested depth. Tastefully extract widgets into Widget-returning functions, to collapse the nesting within build.
build
In the end, build itself should perhaps just have a conditional that calls either displayCompassImage and displayInteractiveCompass. (For example)
displayCompassImage
displayInteractiveCompass
build
has quite a bit of nested depth. Tastefully extract widgets into Widget-returning functions, to collapse the nesting withinbuild
.In the end,
build
itself should perhaps just have a conditional that calls eitherdisplayCompassImage
anddisplayInteractiveCompass
. (For example)