overlayColor property
final
The highlight color to indicate the carousel items are in pressed, hovered or focused states.
The default values are:
- WidgetState.pressed - ColorScheme.onSurface with an opacity of 0.1
- WidgetState.hovered - ColorScheme.onSurface with an opacity of 0.08
- WidgetState.focused - ColorScheme.onSurface with an opacity of 0.1
Implementation
final WidgetStateProperty<Color?>? overlayColor;