KOptions constructor
const
KOptions(
- {TextStyle headerStyle = const TextStyle(fontSize: 13, color: Colors.black54),
- String refreshingText = 'Refreshing',
- String refreshIdleText = 'Pull to refresh',
- String refreshDoneText = 'Refresh done',
- String refreshFailureText = 'Refresh failure',
- String moreIdleText = 'Load more',
- String moreFailureText = 'Load more failured',
- String releaseMoreText = 'Release to load more',
- String noMoreText = 'No more data',
- 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,
});