SearchAppBar constructor

const SearchAppBar({
  1. Key? key,
  2. required Widget title,
  3. List<Widget>? actions,
  4. required ValueChanged<String?> query,
  5. String? typeName,
  6. Clip? clipBehavior,
  7. bool primary = true,
  8. Widget? leading,
  9. Color? backgroundColor,
  10. IconThemeData? actionsIconTheme,
  11. bool automaticallyImplyLeading = true,
  12. Color? surfaceTintColor,
  13. PreferredSizeWidget? bottom,
  14. double bottomOpacity = 1.0,
  15. bool? centerTitle,
  16. double? elevation,
  17. bool excludeHeaderSemantics = false,
  18. Widget? flexibleSpace,
  19. bool forceMaterialTransparency = false,
  20. Color? foregroundColor,
  21. IconThemeData? iconTheme,
  22. double? leadingWidth,
  23. ScrollNotificationPredicate notificationPredicate = defaultScrollNotificationPredicate,
  24. double? scrolledUnderElevation,
  25. Color? shadowColor,
  26. ShapeBorder? shape,
  27. SystemUiOverlayStyle? systemOverlayStyle,
  28. double? titleSpacing,
  29. TextStyle? titleTextStyle,
  30. double? toolbarHeight,
  31. double toolbarOpacity = 1.0,
  32. TextStyle? toolbarTextStyle,
})

Implementation

const SearchAppBar(
    {super.key,
    required this.title,
    this.actions,
    required this.query,
    this.typeName,
    this.clipBehavior,
    this.primary = true,
    this.leading,
    this.backgroundColor,
    this.actionsIconTheme,
    this.automaticallyImplyLeading = true,
    this.surfaceTintColor,
    this.bottom,
    this.bottomOpacity = 1.0,
    this.centerTitle,
    this.elevation,
    this.excludeHeaderSemantics = false,
    this.flexibleSpace,
    this.forceMaterialTransparency = false,
    this.foregroundColor,
    this.iconTheme,
    this.leadingWidth,
    this.notificationPredicate = defaultScrollNotificationPredicate,
    this.scrolledUnderElevation,
    this.shadowColor,
    this.shape,
    this.systemOverlayStyle,
    this.titleSpacing,
    this.titleTextStyle,
    this.toolbarHeight,
    this.toolbarOpacity = 1.0,
    this.toolbarTextStyle});