tryOf method

ContainerManagerState tryOf (
  1. BuildContext context
)

Implementation

static ContainerManagerState tryOf(BuildContext context) {
  final ContainerManagerState manager =
      context.ancestorStateOfType(const TypeMatcher<ContainerManagerState>());
  return manager;
}