isCupertinoAppAncestor static method

bool isCupertinoAppAncestor(
  1. BuildContext context
)

Implementation

static bool isCupertinoAppAncestor(BuildContext context) =>
    context.findAncestorWidgetOfExactType<CupertinoApp>() != null;