SliderAppBar constructor
const
SliderAppBar({ - Key? key,
- required String title,
- String? subtitle,
- bool showBackButton = false,
- bool showFavoriteIcon = false,
- bool showDarkModeToggle = false,
- bool showStreak = false,
- bool isFavorite = false,
- bool isProcessing = false,
- VoidCallback? onToggleFavorite,
- VoidCallback? onBack,
- Map<String, dynamic>? exercise,
- bool isAdmin = false,
- 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});