getOverlayTextStyle function
Material state text overlay color function for the DarkBlue theme
Implementation
TextStyle getOverlayTextStyle(Set<MaterialState> states) {
const Set<MaterialState> interactiveStates = <MaterialState>{
MaterialState.pressed,
MaterialState.hovered,
MaterialState.focused,
};
if (states.any(interactiveStates.contains)) {
return TextStyle(color: Colors.grey[100]!);
}
return TextStyle(color: Colors.grey[100]!);
}