resolve method

MacosIconThemeData resolve(
  1. BuildContext context
)

Called by MacosIconTheme.of to convert this instance to an MacosIconThemeData that fits the given BuildContext.

This method gives the ambient MacosIconThemeData a chance to update itself, after it's been retrieved by MacosIconTheme.of, and before being returned as the final result. For instance, CupertinoIconThemeData overrides this method to resolve color, in case color is a CupertinoDynamicColor and needs to be resolved against the given BuildContext before it can be used as a regular Color.

The default implementation returns this MacosIconThemeData as-is.

See also:

Implementation

MacosIconThemeData resolve(BuildContext context) => this;