uncheckedInputColor static method
Implementation
static Color uncheckedInputColor(ThemeData style, ButtonStates state) {
if (style.brightness == Brightness.light) {
if (state.isDisabled) return style.disabledColor;
if (state.isPressing) return Colors.grey[70]!;
if (state.isHovering) return Colors.grey[40]!;
return Colors.grey[40]!.withOpacity(0);
} else {
if (state.isDisabled) return style.disabledColor;
if (state.isPressing) return Colors.grey[130]!;
if (state.isHovering) return Colors.grey[150]!;
return Colors.grey[150]!.withOpacity(0);
}
}