dartdoc icon indicating copy to clipboard operation
dartdoc copied to clipboard

Move FileWriter from being a parameter on 100 methods to a field on DartDocGeneratorBackend

Open srawlins opened this issue 3 years ago • 0 comments

I think how this got to its current state is that FileWriter needed the outputDir, so it had always been initialized well after the Dartdoc object, or the Generator frond-end object... so then it was a necessary parameter to every parameter on DartDocGeneratorBackend. Oy.

This was not super straightforward to change it to be a field on DartDocGeneratorBackend, but well worth the re-working.

srawlins avatar Jul 13 '22 19:07 srawlins