resolveForegroundColor method

  1. @override
Color? resolveForegroundColor(
  1. Set<MaterialState> states
)

Implementation

@override
Color? resolveForegroundColor(Set<MaterialState> states) {
  return resolvedForegroundColor(
    foregroundColor: const ForegroundColor(
      Colors.white,
      onOtherIcons: Colors.black,
    ),
    states: states,
    isDark: isDark,
    buttonType: style.buttonType,
    iconType: style.iconType,
  );
}