pub fn new(inner: W) -> WidgetPod<T, W> {
        let id = inner.id().unwrap_or_else(WidgetId::next);
        WidgetPod {
            state: BaseState {
                children_changed: true,
                ..Default::default()
            },
            old_data: None,
            env: None,
            inner,
            id,
        }
    }
/// 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 id = inner.id().unwrap_or_else(WidgetId::next);
        WidgetPod {
            state: BaseState {
                children_changed: true,
                ..Default::default()
            },
            old_data: None,
            env: None,
            inner,
            id,
        }
    }
pub fn new ( inner : W ) -> WidgetPod < T , W > { let id = inner . id ( ) . unwrap_or_else ( WidgetId :: next ) ; WidgetPod { state : BaseState { children_changed : true , .. Default :: default ( ) } , old_data : None , env : None , inner , id , } }
Create a new widget pod.
Create a new widget pod .
inner
W
inner
W