getElementOfState static method
Implementation
static Element? getElementOfState(BuildContext? context, State state) {
return getElement(context, (e) => e is StatefulElement && e.state == state);
}
static Element? getElementOfState(BuildContext? context, State state) {
return getElement(context, (e) => e is StatefulElement && e.state == state);
}