CustomDropDown constructor

const CustomDropDown({
  1. Key? key,
  2. required Widget child,
  3. required Widget dropDownBuilder(
    1. OverlayPortalController controller
    ),
  4. dynamic onStateChange(
    1. OverlayPortalController
    )?,
  5. Alignment targetAnchor = Alignment.bottomLeft,
  6. AlignmentGeometry alignment = AlignmentDirectional.topStart,
  7. dynamic getController(
    1. OverlayPortalController
    )?,
})

Implementation

const CustomDropDown({
  super.key,
  required this.child,
  required this.dropDownBuilder,
  this.onStateChange,
  this.targetAnchor = Alignment.bottomLeft,
  this.alignment = AlignmentDirectional.topStart,
  this.getController,
});