SliderAppBar constructor

const SliderAppBar({
  1. Key? key,
  2. required String title,
  3. String? subtitle,
  4. bool showBackButton = false,
  5. bool showFavoriteIcon = false,
  6. bool showDarkModeToggle = false,
  7. bool showStreak = false,
  8. bool isFavorite = false,
  9. bool isProcessing = false,
  10. VoidCallback? onToggleFavorite,
  11. VoidCallback? onBack,
  12. Map<String, dynamic>? exercise,
  13. bool isAdmin = false,
  14. VoidCallback? onEdit,
})

Implementation

const SliderAppBar(
    {super.key,
    required this.title,
    this.subtitle,
    this.showBackButton = false,
    this.showFavoriteIcon = false,
    this.showDarkModeToggle = false,
    this.showStreak = false,
    this.isFavorite = false,
    this.isProcessing = false,
    this.onToggleFavorite,
    this.onBack,
    this.exercise,
    this.isAdmin = false,
    this.onEdit});