Widget type family restricted in confirmWithCustomWidget method