maybeOf static method

PressableState? maybeOf(
  1. BuildContext context, [
  2. PressableStateAspect? aspect
])

Implementation

static PressableState? maybeOf(
  BuildContext context, [
  PressableStateAspect? aspect,
]) {
  return InheritedModel.inheritFrom<PressableState>(context, aspect: aspect);
}