I have seen snippets like the following throughout the Flutter repo:
/// {@macro flutter.widgets.editableText.readOnly}
In the IDE and in the rendered Dart docs, it is then shown like this:
Whether the text can be changed.
When this is set to true, the text cannot be modified by any shortcut or keyboard operation. The text is still selectable.
Defaults to false. Must not be null.
And it tends to go way beyond this basic case.