ElementState<T> constructor

ElementState<T>({
  1. required T component,
  2. State<T>? state,
})

Implementation

ElementState({required this.component, State<T>? state})
    : componentState = state ?? StateObject<T>(initValue: component),
      super(initValue: component);