reservedChildren
Children tags which are reserved. These cannot be used by a @Children annotation. This is useful for ensuring tags from old, retired children are not accidentally reused.
@Widget(
tag = 12,
reservedChildren = [
2, // Retired action item slot.
],
)
data class Toolbar(…)
Content copied to clipboard