DropDownOverlay constructor

DropDownOverlay({
  1. Key? key,
  2. required int selectedIndex,
  3. required bool safeArea,
  4. required GetOffset getBtnOffsetDimension,
  5. required GetConstraint getConstraint,
  6. double transitionPerPixel = 0.5,
  7. Curve curve = Curves.ease,
  8. ScrollPhysics physics = const NeverScrollableScrollPhysics(),
  9. required List<String> items,
  10. required DropdownItemWidgetBuilder dropdownItemBuilder,
  11. double elevation = 0.8,
  12. required VoidCallback onClose,
  13. OnValueChanged? onValueChanged,
})

Implementation

DropDownOverlay({Key? key,
  required this.selectedIndex,
  required this.safeArea,
  required this.getBtnOffsetDimension,
  required this.getConstraint,
  this.transitionPerPixel = 0.5,
  this.curve = Curves.ease,
  this.physics = const NeverScrollableScrollPhysics(),
  required this.items,
  required this.dropdownItemBuilder,
  this.elevation = 0.8,
  required this.onClose,
  this.onValueChanged,
}) : super(key: key);