DGHubAppBar constructor
const
DGHubAppBar({
- double? height,
- Color? backgroundColor,
- Color? backgroundColorDarkTheme,
- Color? cardColor,
- Color? cardColorDarkTheme,
- Color? iconColor,
- Color? iconColorDarkTheme,
- Color? labelColor,
- Color? labelColorDarkTheme,
- Widget? logo,
- String? label,
- String? sublabel,
- String? searchLabel,
- DGHubAppBarType type = DGHubAppBarType.defaultDesign,
- required List<
DGHubAppBarIcon> items, - Widget? profileWidget,
- dynamic centerOnTap()?,
- dynamic micOnTap()?,
- bool enabledProfile = true,
- bool enabledBottomLine = false,
- 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});