SearchAnchor constructor
- Key? key,
- bool? isFullScreen,
- SearchController? searchController,
- ViewBuilder? viewBuilder,
- Widget? viewLeading,
- Iterable<
Widget> ? viewTrailing, - String? viewHintText,
- Color? viewBackgroundColor,
- double? viewElevation,
- Color? viewSurfaceTintColor,
- BorderSide? viewSide,
- OutlinedBorder? viewShape,
- double? headerHeight,
- TextStyle? headerTextStyle,
- TextStyle? headerHintStyle,
- Color? dividerColor,
- BoxConstraints? viewConstraints,
- TextCapitalization? textCapitalization,
- ValueChanged<
String> ? viewOnChanged, - ValueChanged<
String> ? viewOnSubmitted, - required SearchAnchorChildBuilder builder,
- required SuggestionsBuilder suggestionsBuilder,
- TextInputAction? textInputAction,
- TextInputType? keyboardType,
Creates a const SearchAnchor.
The builder and suggestionsBuilder arguments are required.
Implementation
const SearchAnchor({
super.key,
this.isFullScreen,
this.searchController,
this.viewBuilder,
this.viewLeading,
this.viewTrailing,
this.viewHintText,
this.viewBackgroundColor,
this.viewElevation,
this.viewSurfaceTintColor,
this.viewSide,
this.viewShape,
this.headerHeight,
this.headerTextStyle,
this.headerHintStyle,
this.dividerColor,
this.viewConstraints,
this.textCapitalization,
this.viewOnChanged,
this.viewOnSubmitted,
required this.builder,
required this.suggestionsBuilder,
this.textInputAction,
this.keyboardType,
});