DropDownOverlay constructor

DropDownOverlay({
  1. Key? key,
  2. double itemHeight = 0.0,
  3. required List<String> dropDownList,
  4. Color overlayBGColor = Colors.white,
  5. required Function dropDownItemClick,
  6. double dropDownBorderRadius = 0.0,
  7. TextStyle dropDownListTextStyle = const TextStyle(color: Colors.grey, fontSize: 15, backgroundColor: Colors.transparent),
  8. required Function onOverlayOpen,
})

Implementation

DropDownOverlay(
    {Key? key,
    this.itemHeight = 0.0,
    required this.dropDownList,
    this.overlayBGColor: Colors.white,
    required this.dropDownItemClick,
    this.dropDownBorderRadius = 0.0,
    this.dropDownListTextStyle: const TextStyle(
        color: Colors.grey,
        fontSize: 15,
        backgroundColor: Colors.transparent),
    required this.onOverlayOpen})
    : super(key: key);