DropdownStyleData constructor

const DropdownStyleData({
  1. double? maxHeight,
  2. double? width,
  3. EdgeInsetsGeometry? padding,
  4. EdgeInsetsGeometry? scrollPadding,
  5. BoxDecoration? decoration,
  6. int elevation = 8,
  7. DropdownDirection direction = DropdownDirection.textDirection,
  8. Offset offset = Offset.zero,
  9. bool isOverButton = false,
  10. bool useSafeArea = true,
  11. @Deprecated('Use useRootNavigator instead.') bool? isFullScreen,
  12. bool useRootNavigator = false,
  13. ScrollbarThemeData? scrollbarTheme,
  14. Interval openInterval = const Interval(0.25, 0.5),
})

Creates a DropdownStyleData.

Implementation

const DropdownStyleData({
  this.maxHeight,
  this.width,
  this.padding,
  this.scrollPadding,
  this.decoration,
  this.elevation = 8,
  this.direction = DropdownDirection.textDirection,
  this.offset = Offset.zero,
  this.isOverButton = false,
  this.useSafeArea = true,
  @Deprecated('Use useRootNavigator instead.') this.isFullScreen,
  this.useRootNavigator = false,
  this.scrollbarTheme,
  this.openInterval = const Interval(0.25, 0.5),
});