isCupertinoDesignPreferred function
Determines whether Cupertino design should be used.
Implementation
bool isCupertinoDesignPreferred(BuildContext context) {
return context.findAncestorWidgetOfExactType<CupertinoApp>() != null;
}
Determines whether Cupertino design should be used.
bool isCupertinoDesignPreferred(BuildContext context) {
return context.findAncestorWidgetOfExactType<CupertinoApp>() != null;
}