M3ESearchViewContent constructor
const
M3ESearchViewContent({
- required M3ESearchController searchController,
- required M3ESearchSuggestionsBuilder suggestionsBuilder,
- required Animation<
double> animation, - required Rect viewRect,
- required double viewMaxWidth,
- required double topPadding,
- required bool showFullScreenView,
- M3ESearchViewBuilder? viewBuilder,
- Widget? viewLeading,
- Iterable<
Widget> ? viewTrailing, - String? viewHintText,
- Color? viewBackgroundColor,
- double? viewElevation,
- Color? viewSurfaceTintColor,
- BorderSide? viewSide,
- OutlinedBorder? viewShape,
- EdgeInsetsGeometry? viewBarPadding,
- double? viewHeaderHeight,
- TextStyle? viewHeaderTextStyle,
- TextStyle? viewHeaderHintStyle,
- Color? dividerColor,
- BoxConstraints? viewConstraints,
- EdgeInsetsGeometry? viewPadding,
- bool? shrinkWrap,
- TextCapitalization? textCapitalization,
- ValueChanged<
String> ? viewOnChanged, - ValueChanged<
String> ? viewOnSubmitted, - TextInputAction? textInputAction,
- TextInputType? keyboardType,
- SmartDashesType? smartDashesType,
- SmartQuotesType? smartQuotesType,
- Key? key,
M3ESearchViewContent.
Implementation
const M3ESearchViewContent({
required this.searchController,
required this.suggestionsBuilder,
required this.animation,
required this.viewRect,
required this.viewMaxWidth,
required this.topPadding,
required this.showFullScreenView,
this.viewBuilder,
this.viewLeading,
this.viewTrailing,
this.viewHintText,
this.viewBackgroundColor,
this.viewElevation,
this.viewSurfaceTintColor,
this.viewSide,
this.viewShape,
this.viewBarPadding,
this.viewHeaderHeight,
this.viewHeaderTextStyle,
this.viewHeaderHintStyle,
this.dividerColor,
this.viewConstraints,
this.viewPadding,
this.shrinkWrap,
this.textCapitalization,
this.viewOnChanged,
this.viewOnSubmitted,
this.textInputAction,
this.keyboardType,
this.smartDashesType,
this.smartQuotesType,
super.key,
});