DropDownOverlay constructor
DropDownOverlay({
- Key? key,
- required int selectedIndex,
- required bool safeArea,
- required GetOffset getBtnOffsetDimension,
- required GetConstraint getConstraint,
- double transitionPerPixel = 0.5,
- Curve curve = Curves.ease,
- ScrollPhysics physics = const NeverScrollableScrollPhysics(),
- required List<
String> items, - required DropdownItemWidgetBuilder dropdownItemBuilder,
- double elevation = 0.8,
- required VoidCallback onClose,
- 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);