SmartStateTextConfig constructor
const
SmartStateTextConfig({
- String retryButtonText = 'Retry',
- String noDataFoundText = 'No data available',
- String noMoreDataText = 'No more data',
- String offlineConnectionText = 'No internet connection',
- String loadMoreFailedText = 'Failed to load more',
- String loadMoreRetryText = 'Try again',
- String noBuilderProvidedText = 'No builder provided',
- String defaultErrorText = 'An error occurred',
- String genericErrorText = 'Something went wrong',
- String initialStateText = 'Ready to start',
- String loadingText = 'Loading...',
Implementation
const SmartStateTextConfig({
this.retryButtonText = 'Retry',
this.noDataFoundText = 'No data available',
this.noMoreDataText = 'No more data',
this.offlineConnectionText = 'No internet connection',
this.loadMoreFailedText = 'Failed to load more',
this.loadMoreRetryText = 'Try again',
this.noBuilderProvidedText = 'No builder provided',
this.defaultErrorText = 'An error occurred',
this.genericErrorText = 'Something went wrong',
this.initialStateText = 'Ready to start',
this.loadingText = 'Loading...',
});