getOverlayColor method Null safety
- BuildContext context
Implementation
MaterialStateProperty<Color?>? getOverlayColor(BuildContext context) {
return MaterialStateProperty.resolveWith((states) =>
splashColor ??
_getMaterialStyle(context)?.overlayColor?.resolve(states));
}