FluentAutoSuggestThemeData constructor
const
FluentAutoSuggestThemeData({
- AutoSuggestDesignSystem designSystem = AutoSuggestDesignSystem.fluent,
- InputDecoration? textFieldDecoration,
- TextStyle? textFieldStyle,
- Color? textFieldCursorColor,
- double? textFieldCursorWidth,
- double? textFieldCursorHeight,
- Radius? textFieldCursorRadius,
- Color? textFieldFillColor,
- double? textFieldBorderRadius,
- Color? overlayBackgroundColor,
- Color? overlayCardColor,
- double? overlayBorderRadius,
- List<
BoxShadow> ? overlayShadows, - double? overlayElevation,
- Color? itemBackgroundColor,
- Color? itemSelectedBackgroundColor,
- Color? itemHoverBackgroundColor,
- TextStyle? itemTextStyle,
- TextStyle? itemSelectedTextStyle,
- TextStyle? itemSubtitleTextStyle,
- EdgeInsetsGeometry? itemPadding,
- double? itemHeight,
- Color? loadingIndicatorColor,
- TextStyle? loadingTextStyle,
- TextStyle? noResultsTextStyle,
- TextStyle? noResultsSubtitleTextStyle,
- IconData? noResultsIcon,
- Color? noResultsIconColor,
- Color? iconColor,
- Color? clearButtonColor,
- Color? dropdownIconColor,
- TextDirection? textDirection,
- bool rtlMirrorIcons = true,
- bool rtlMirrorLayout = true,
Implementation
const FluentAutoSuggestThemeData({
this.designSystem = AutoSuggestDesignSystem.fluent,
// Text field theming
this.textFieldDecoration,
this.textFieldStyle,
this.textFieldCursorColor,
this.textFieldCursorWidth,
this.textFieldCursorHeight,
this.textFieldCursorRadius,
this.textFieldFillColor,
this.textFieldBorderRadius,
// Overlay theming
this.overlayBackgroundColor,
this.overlayCardColor,
this.overlayBorderRadius,
this.overlayShadows,
this.overlayElevation,
// Item theming
this.itemBackgroundColor,
this.itemSelectedBackgroundColor,
this.itemHoverBackgroundColor,
this.itemTextStyle,
this.itemSelectedTextStyle,
this.itemSubtitleTextStyle,
this.itemPadding,
this.itemHeight,
// Loading state theming
this.loadingIndicatorColor,
this.loadingTextStyle,
// No results theming
this.noResultsTextStyle,
this.noResultsSubtitleTextStyle,
this.noResultsIcon,
this.noResultsIconColor,
// General theming
this.iconColor,
this.clearButtonColor,
this.dropdownIconColor,
// RTL support
this.textDirection,
this.rtlMirrorIcons = true,
this.rtlMirrorLayout = true,
});