BottomControls constructor

const BottomControls({
  1. Key? key,
  2. dynamic onRefresh(
    1. BuildContext context
    )?,
  3. dynamic onPrimaryAction(
    1. BuildContext context
    )?,
  4. dynamic onRetry(
    1. BuildContext context
    )?,
  5. String primaryActionText = 'Load more',
  6. String retryText = 'Retry',
  7. IconData refreshIcon = Icons.refresh,
  8. bool primaryActionDisabled = false,
  9. bool showRetry = false,
  10. bool showControls = true,
  11. String? refreshSemanticsIdentifier,
  12. String? refreshSemanticsLabel,
  13. String? primaryActionSemanticsIdentifier,
  14. String? primaryActionSemanticsLabel,
  15. String? retrySemanticsIdentifier,
  16. String? retrySemanticsLabel,
  17. CloudPosDisplaySize? formFactor,
})

Implementation

const BottomControls({
  super.key,
  this.onRefresh,
  this.onPrimaryAction,
  this.onRetry,
  this.primaryActionText = 'Load more',
  this.retryText = 'Retry',
  this.refreshIcon = Icons.refresh,
  this.primaryActionDisabled = false,
  this.showRetry = false,
  this.showControls = true,
  this.refreshSemanticsIdentifier,
  this.refreshSemanticsLabel,
  this.primaryActionSemanticsIdentifier,
  this.primaryActionSemanticsLabel,
  this.retrySemanticsIdentifier,
  this.retrySemanticsLabel,
  this.formFactor,
});