KOptions constructor

const KOptions(
  1. {TextStyle headerStyle = const TextStyle(fontSize: 13, color: Colors.black54),
  2. String refreshingText = 'Refreshing',
  3. String refreshIdleText = 'Pull to refresh',
  4. String refreshDoneText = 'Refresh done',
  5. String refreshFailureText = 'Refresh failure',
  6. TextStyle footerStyle = const TextStyle(fontSize: 13, color: Colors.black54),
  7. String moreIdleText = 'Load more',
  8. String moreFailureText = 'Load more failured',
  9. String releaseMoreText = 'Release to load more',
  10. String noMoreText = 'No more data',
  11. Widget? loadingIcon}
)

Implementation

const KOptions({
  this.headerStyle = const TextStyle(fontSize: 13, color: Colors.black54),
  this.refreshingText = 'Refreshing',
  this.refreshIdleText = 'Pull to refresh',
  this.refreshDoneText = 'Refresh done',
  this.refreshFailureText = 'Refresh failure',
  this.footerStyle = const TextStyle(fontSize: 13, color: Colors.black54),
  this.moreIdleText = 'Load more',
  this.moreFailureText = 'Load more failured',
  this.releaseMoreText = 'Release to load more',
  this.noMoreText = 'No more data',
  this.loadingIcon,
});