dart-lang / code_builder

A fluent API for generating valid Dart source code
https://pub.dev/packages/code_builder
BSD 3-Clause "New" or "Revised" License
423 stars 66 forks source link

Mention imports in the DartEmitter docs #380

Closed natebosch closed 1 year ago

natebosch commented 1 year ago

This has come up as a point of confusion a few times - by default a DartEmitter will not emit any imports. Call out imports in the constructor doc comment.