of static method

ShimmerState? of(
  1. BuildContext context
)

Implementation

static ShimmerState? of(BuildContext context) {
  return context.findAncestorStateOfType<ShimmerState>();
}