BottomControls constructor
const
BottomControls({
- Key? key,
- dynamic onRefresh(
- BuildContext context
- dynamic onPrimaryAction(
- BuildContext context
- dynamic onRetry(
- BuildContext context
- String primaryActionText = 'Load more',
- String retryText = 'Retry',
- IconData refreshIcon = Icons.refresh,
- bool primaryActionDisabled = false,
- bool showRetry = false,
- bool showControls = true,
- String? refreshSemanticsIdentifier,
- String? refreshSemanticsLabel,
- String? primaryActionSemanticsIdentifier,
- String? primaryActionSemanticsLabel,
- String? retrySemanticsIdentifier,
- String? retrySemanticsLabel,
- 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,
});