FluentDropdownStyle constructor

const FluentDropdownStyle({
  1. WidgetStateProperty<Color?>? backgroundColor,
  2. WidgetStateProperty<Color?>? foregroundColor,
  3. WidgetStateProperty<Color?>? placeholderColor,
  4. WidgetStateProperty<Color?>? borderColor,
  5. WidgetStateProperty<double?>? borderWidth,
  6. WidgetStateProperty<BorderRadius?>? borderRadius,
  7. WidgetStateProperty<Color?>? underlineColor,
  8. WidgetStateProperty<Color?>? accentColor,
  9. WidgetStateProperty<double?>? accentWidth,
  10. WidgetStateProperty<TextStyle?>? textStyle,
  11. WidgetStateProperty<EdgeInsetsGeometry?>? padding,
  12. WidgetStateProperty<double?>? gap,
  13. WidgetStateProperty<Color?>? chevronColor,
  14. WidgetStateProperty<double?>? chevronSize,
  15. WidgetStateProperty<EdgeInsetsGeometry?>? chevronPadding,
  16. WidgetStateProperty<Size?>? minimumSize,
  17. WidgetStateProperty<MouseCursor?>? mouseCursor,
  18. WidgetStateProperty<Color?>? surfaceColor,
  19. WidgetStateProperty<Color?>? surfaceBorderColor,
  20. WidgetStateProperty<double?>? surfaceBorderWidth,
  21. WidgetStateProperty<BorderRadius?>? surfaceRadius,
  22. WidgetStateProperty<EdgeInsetsGeometry?>? surfacePadding,
  23. WidgetStateProperty<double?>? surfaceGap,
  24. WidgetStateProperty<List<BoxShadow>?>? surfaceShadow,
  25. WidgetStateProperty<double?>? surfaceMaxHeight,
  26. WidgetStateProperty<double?>? surfaceOffset,
})

Creates a style. Omitted properties inherit.

Implementation

const FluentDropdownStyle({
  this.backgroundColor,
  this.foregroundColor,
  this.placeholderColor,
  this.borderColor,
  this.borderWidth,
  this.borderRadius,
  this.underlineColor,
  this.accentColor,
  this.accentWidth,
  this.textStyle,
  this.padding,
  this.gap,
  this.chevronColor,
  this.chevronSize,
  this.chevronPadding,
  this.minimumSize,
  this.mouseCursor,
  this.surfaceColor,
  this.surfaceBorderColor,
  this.surfaceBorderWidth,
  this.surfaceRadius,
  this.surfacePadding,
  this.surfaceGap,
  this.surfaceShadow,
  this.surfaceMaxHeight,
  this.surfaceOffset,
});