pub fn new(action: impl Fn(&mut W, &mut LifeCycleCtx, &T, &Env) + 'static) -> Self {
        Self {
            action: Box::new(action),
        }
    }
/// Create a new [`Controller`] widget to respond to widget added to tree event.
Create a new [`Controller`] widget to respond to widget added to tree event.
Create a new [ ` Controller ` ] widget to respond to widget added to tree event .
pub fn new(action: impl Fn(&mut W, &mut LifeCycleCtx, &T, &Env) + 'static) -> Self {
        Self {
            action: Box::new(action),
        }
    }
pub fn new ( action : impl Fn ( & mut W , & mut LifeCycleCtx , & T , & Env ) + ' static ) -> Self { Self { action : Box :: new ( action ) , } }
Create a new [`Controller`] widget to respond to widget added to tree event.
Create a new [ ` Controller ` ] widget to respond to widget added to tree event .
action
impl Fn(&mut W, &mut LifeCycleCtx, &T, &Env) + 'static
action
impl Fn(&mut W, &mut LifeCycleCtx, &T, &Env) + 'static