of static method

Implementation

static CoordinatorLayoutState? of(BuildContext context) {
  final CoordinatorLayoutState? result = context.findAncestorStateOfType<CoordinatorLayoutState>();
  return result;
}