of static method
The state from the closest instance of this class that encloses the given context.
Implementation
static SlidableState? of(BuildContext context) {
final _SlidableScope? scope =
context.dependOnInheritedWidgetOfExactType<_SlidableScope>();
return scope?.state;
}