scopes property

Set<MarkdownScope> get scopes
inherited

The nesting contexts this component is allowed to render in.

Defaults to allScopes, so existing components keep their behaviour. Override it to opt out of a context — most commonly allScopesExceptLinkLabel.

Implementation

Set<MarkdownScope> get scopes => allScopes;