DGHubAppBar constructor

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

Implementation

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