DefaultDesignAppBar constructor

const DefaultDesignAppBar({
  1. Key? key,
  2. required double? height,
  3. required Color? backgroundColor,
  4. required Color? backgroundColorDarkTheme,
  5. required Color? cardColor,
  6. required Color? cardColorDarkTheme,
  7. required Color? iconColor,
  8. required Color? iconColorDarkTheme,
  9. required Color? labelColor,
  10. required Color? labelColorDarkTheme,
  11. required String? label,
  12. required String? sublabel,
  13. required String? searchLabel,
  14. required List<DGHubAppBarIcon> items,
  15. required Widget? profileWidget,
  16. required dynamic centerOnTap()?,
  17. required dynamic menuOnTap()?,
  18. required bool enabledProfile,
  19. required bool enabledBottomLine,
  20. required dynamic micOnTap()?,
})

Implementation

const DefaultDesignAppBar(
    {super.key,
    required this.height,
    required this.backgroundColor,
    required this.backgroundColorDarkTheme,
    required this.cardColor,
    required this.cardColorDarkTheme,
    required this.iconColor,
    required this.iconColorDarkTheme,
    required this.labelColor,
    required this.labelColorDarkTheme,
    required this.logo,
    required this.label,
    required this.sublabel,
    required this.searchLabel,
    required this.items,
    required this.profileWidget,
    required this.centerOnTap,
    required this.menuOnTap,
    required this.enabledProfile,
    required this.enabledBottomLine,
    required this.micOnTap});