resolveFrom method

  1. @override
CupertinoThemeData resolveFrom(
  1. BuildContext context

Returns a new theme data with all its colors resolved against the given BuildContext.

Called by CupertinoTheme.of to resolve colors defined in the retrieved CupertinoThemeData.


CupertinoThemeData resolveFrom(BuildContext context) {
  // Only the cupertino override theme part will be resolved.
  // If the color comes from the material theme it's not resolved.
  return MaterialBasedCupertinoThemeData._(