FluentAutoSuggestThemeData constructor

const FluentAutoSuggestThemeData({
  1. AutoSuggestDesignSystem designSystem = AutoSuggestDesignSystem.fluent,
  2. InputDecoration? textFieldDecoration,
  3. TextStyle? textFieldStyle,
  4. Color? textFieldCursorColor,
  5. double? textFieldCursorWidth,
  6. double? textFieldCursorHeight,
  7. Radius? textFieldCursorRadius,
  8. Color? textFieldFillColor,
  9. double? textFieldBorderRadius,
  10. Color? overlayBackgroundColor,
  11. Color? overlayCardColor,
  12. double? overlayBorderRadius,
  13. List<BoxShadow>? overlayShadows,
  14. double? overlayElevation,
  15. Color? itemBackgroundColor,
  16. Color? itemSelectedBackgroundColor,
  17. Color? itemHoverBackgroundColor,
  18. TextStyle? itemTextStyle,
  19. TextStyle? itemSelectedTextStyle,
  20. TextStyle? itemSubtitleTextStyle,
  21. EdgeInsetsGeometry? itemPadding,
  22. double? itemHeight,
  23. Color? loadingIndicatorColor,
  24. TextStyle? loadingTextStyle,
  25. TextStyle? noResultsTextStyle,
  26. TextStyle? noResultsSubtitleTextStyle,
  27. IconData? noResultsIcon,
  28. Color? noResultsIconColor,
  29. Color? iconColor,
  30. Color? clearButtonColor,
  31. Color? dropdownIconColor,
  32. TextDirection? textDirection,
  33. bool rtlMirrorIcons = true,
  34. 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,
});