ActionButtonsSection constructor

const ActionButtonsSection({
  1. Key? key,
  2. required bool isLoading,
  3. required bool showError,
  4. required bool showEmpty,
  5. required VoidCallback onToggleLoading,
  6. required VoidCallback onToggleError,
  7. required VoidCallback onToggleEmpty,
})

Creates an ActionButtonsSection widget.

All parameters are required:

  • isLoading: Current loading state
  • showError: Current error state visibility
  • showEmpty: Current empty state visibility
  • onToggleLoading: Callback for toggling loading state
  • onToggleError: Callback for toggling error state
  • onToggleEmpty: 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,
});