Copy documentation comments to generated class
Hannnes1 opened this issue · 0 comments
Hannnes1 commented
I'm not sure if this would be possible, but it would be cool if documentation comments added to the properties in the class annotated with @tailor
were copied to the generated class. For example:
@tailor
class _$MyTheme{
/// A documentation comment.
static List<Color> customColor = [Colors.red, Colors.blue];
}
generates:
class MyTheme extends ThemeExtension<Colors> {
...
/// A documentation comnent.
final Color customColor;
...
}