getElementOfStateType static method
Implementation
static Element? getElementOfStateType(BuildContext? context, Type type) {
return getElement(context, (e) => e is StatefulElement && e.state.runtimeType == type);
}
static Element? getElementOfStateType(BuildContext? context, Type type) {
return getElement(context, (e) => e is StatefulElement && e.state.runtimeType == type);
}