hintContent property
String
hintContent
Implementation
String get hintContent {
switch (widget.state) {
case ScoreState.error:
return app.clickToRetry;
case ScoreState.empty:
return app.scoreEmpty;
case ScoreState.offlineEmpty:
return app.noOfflineData;
case ScoreState.custom:
return widget.customStateHint ?? app.unknownError;
default:
return '';
}
}