SearchAppBar constructor
const
SearchAppBar({
- Key? key,
- required Widget title,
- List<
Widget> ? actions, - required ValueChanged<
String?> query, - String? typeName,
- Clip? clipBehavior,
- bool primary = true,
- Widget? leading,
- Color? backgroundColor,
- IconThemeData? actionsIconTheme,
- bool automaticallyImplyLeading = true,
- Color? surfaceTintColor,
- PreferredSizeWidget? bottom,
- double bottomOpacity = 1.0,
- bool? centerTitle,
- double? elevation,
- bool excludeHeaderSemantics = false,
- Widget? flexibleSpace,
- bool forceMaterialTransparency = false,
- Color? foregroundColor,
- IconThemeData? iconTheme,
- double? leadingWidth,
- ScrollNotificationPredicate notificationPredicate = defaultScrollNotificationPredicate,
- double? scrolledUnderElevation,
- Color? shadowColor,
- ShapeBorder? shape,
- SystemUiOverlayStyle? systemOverlayStyle,
- double? titleSpacing,
- TextStyle? titleTextStyle,
- double? toolbarHeight,
- double toolbarOpacity = 1.0,
- 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});