pub fn inspect_state(&mut self, f: impl Fn(&WidgetState) + 'static) {
        let checkfn = StateCheckFn::new(f);
        self.lifecycle(LifeCycle::Internal(InternalLifeCycle::DebugInspectState(
            checkfn,
        )))
    }
/// Inspect the `WidgetState` of each widget in the tree.
///
/// The provided closure will be called on each widget.
Inspect the `WidgetState` of each widget in the tree.
The provided closure will be called on each widget.
Inspect the ` WidgetState ` of each widget in the tree . The provided closure will be called on each widget .
pub fn inspect_state(&mut self, f: impl Fn(&WidgetState) + 'static) {
        let checkfn = StateCheckFn::new(f);
        self.lifecycle(LifeCycle::Internal(InternalLifeCycle::DebugInspectState(
            checkfn,
        )))
    }
pub fn inspect_state ( & mut self , f : impl Fn ( & WidgetState ) + ' static ) { let checkfn = StateCheckFn :: new ( f ) ; self . lifecycle ( LifeCycle :: Internal ( InternalLifeCycle :: DebugInspectState ( checkfn , ) ) ) }
Inspect the `WidgetState` of each widget in the tree.
Inspect the ` WidgetState ` of each widget in the tree .
&mut self
f
impl Fn(&WidgetState) + 'static
&mut self
f
impl Fn(&WidgetState) + 'static