ActionButtonsSection constructor
const
ActionButtonsSection({
- Key? key,
- required bool isLoading,
- required bool showError,
- required bool showEmpty,
- required VoidCallback onToggleLoading,
- required VoidCallback onToggleError,
- required VoidCallback onToggleEmpty,
Creates an ActionButtonsSection widget.
All parameters are required:
isLoading: Current loading stateshowError: Current error state visibilityshowEmpty: Current empty state visibilityonToggleLoading: Callback for toggling loading stateonToggleError: Callback for toggling error stateonToggleEmpty: Callback for toggling empty state
Implementation
const ActionButtonsSection({
super.key,
required this.isLoading,
required this.showError,
required this.showEmpty,
required this.onToggleLoading,
required this.onToggleError,
required this.onToggleEmpty,
});