resolve method Null safety
- BuildContext context
This method gives the ambient IconThemeData a chance to update itself, after it's been retrieved by IconTheme.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 IconThemeData as-is.
IconThemeData resolve(BuildContext context) => this;