pub fn new(inner: W) -> WidgetPod<T, W> {
        let mut state = BaseState::new(inner.id().unwrap_or_else(WidgetId::next));
        state.children_changed = true;
        state.needs_layout = true;
        WidgetPod {
            state,
            old_data: None,
            env: None,
            inner,
        }
    }
/// Create a new widget pod.
///
/// In a widget hierarchy, each widget is wrapped in a `WidgetPod`
/// so it can participate in layout and event flow. The process of
/// adding a child widget to a container should call this method.
Create a new widget pod.
In a widget hierarchy, each widget is wrapped in a `WidgetPod`
so it can participate in layout and event flow. The process of
adding a child widget to a container should call this method.
Create a new widget pod . In a widget hierarchy each widget is wrapped in a ` WidgetPod ` so it can participate in layout and event flow . The process of adding a child widget to a container should call this method .
pub fn new(inner: W) -> WidgetPod<T, W> {
        let mut state = BaseState::new(inner.id().unwrap_or_else(WidgetId::next));
        state.children_changed = true;
        state.needs_layout = true;
        WidgetPod {
            state,
            old_data: None,
            env: None,
            inner,
        }
    }
pub fn new ( inner : W ) -> WidgetPod < T , W > { let mut state = BaseState :: new ( inner . id ( ) . unwrap_or_else ( WidgetId :: next ) ) ; state . children_changed = true ; state . needs_layout = true ; WidgetPod { state , old_data : None , env : None , inner , } }
Create a new widget pod.
Create a new widget pod .
inner
W