onSelectVariant property
final
Called when the user picks a different variant from the picker. On the wide layout, the parent updates the active-domain id; on narrow (when null), the view falls back to navigating to the new variant's route.
Implementation
final void Function(String family, String variant, String domainId)?
onSelectVariant;