pub fn presenter_opt<D: VarValue>(
data: impl IntoVar<Option<D>>,
wgt_fn: impl IntoVar<WidgetFn<D>>,
) -> UiNodeExpand description
Node that presents data using wgt_fn if data is available, otherwise presents nil.
This behaves like presenter, but wgt_fn is not called if data is None.
See also the present_opt method that can be called on the data variable.