maybeOf static method

BetterSkeletonConfig? maybeOf(
  1. BuildContext context
)

Implementation

static BetterSkeletonConfig? maybeOf(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<_BetterSkeletonScope>()
      ?.config;
}