resolve method

  1. @override
IconThemeData resolve(
  1. 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);
}