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