mounted static method
Returns a predicate that checks if a BuildContext is still mounted.
Implementation
static PostFramePredicate mounted(BuildContext context) {
final element = context as Element;
return () => element.mounted;
}
Returns a predicate that checks if a BuildContext is still mounted.
static PostFramePredicate mounted(BuildContext context) {
final element = context as Element;
return () => element.mounted;
}