SmartStateTextConfig constructor

const SmartStateTextConfig({
  1. String retryButtonText = 'Retry',
  2. String noDataFoundText = 'No data available',
  3. String noMoreDataText = 'No more data',
  4. String offlineConnectionText = 'No internet connection',
  5. String loadMoreFailedText = 'Failed to load more',
  6. String loadMoreRetryText = 'Try again',
  7. String noBuilderProvidedText = 'No builder provided',
  8. String defaultErrorText = 'An error occurred',
  9. String genericErrorText = 'Something went wrong',
  10. String initialStateText = 'Ready to start',
  11. 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...',
});