DGHubSearchAppBar constructor
const
DGHubSearchAppBar({
- double? height,
- Color? backgroundColor,
- Color? backgroundColorDarkTheme,
- Color? cardColor,
- Color? cardColorDarkTheme,
- Color? iconColor,
- Color? iconColorDarkTheme,
- Color? labelColor,
- Color? labelColorDarkTheme,
- DGHubSearchAppBarType type = DGHubSearchAppBarType.defaultDesign,
- required List<
DGHubAppBarIcon> items, - String? searchLabel,
- dynamic backOnTap()?,
- required dynamic searchResult(
- String result
- bool enabledBottomLine = true,
- Key? key,
Implementation
const DGHubSearchAppBar(
{this.height,
this.backgroundColor,
this.backgroundColorDarkTheme,
this.cardColor,
this.cardColorDarkTheme,
this.iconColor,
this.iconColorDarkTheme,
this.labelColor,
this.labelColorDarkTheme,
this.type = DGHubSearchAppBarType.defaultDesign,
required this.items,
this.searchLabel,
this.backOnTap,
required this.searchResult,
this.enabledBottomLine = true,
super.key});