LocationDesignSearchAppBar constructor

const LocationDesignSearchAppBar({
  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 List<DGHubAppBarIcon> items,
  12. required dynamic backOnTap()?,
  13. required bool enabledBottomLine,
  14. required String? searchLabel,
  15. required dynamic searchResult(
    1. String result
    ),
})

Implementation

const LocationDesignSearchAppBar(
    {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.items,
    required this.backOnTap,
    required this.enabledBottomLine,
    required this.searchLabel,
    required this.searchResult});