resolve method Null safety
- BuildContext context
override
Called by IconTheme.of to resolve color against the given BuildContext.
Implementation
@override
IconThemeData resolve(BuildContext context) {
final Color? resolvedColor = CupertinoDynamicColor.maybeResolve(color, context);
return resolvedColor == color ? this : copyWith(color: resolvedColor);
}