ZDropdownButton<T> constructor

const ZDropdownButton<T>({
  1. Key? key,
  2. double height = 40,
  3. Color? fillColor,
  4. double hoverElevation = 1,
  5. double highlightElevation = 1,
  6. required Widget child,
  7. required T initialValue,
  8. required List<PopupMenuEntry<T>> items,
  9. required ValueChanged<T>? onSelected,
})

Implementation

const ZDropdownButton({
  Key? key,
  this.height = 40,
  this.fillColor,
  this.hoverElevation = 1,
  this.highlightElevation = 1,
  required this.child,
  required this.initialValue,
  required this.items,
  required this.onSelected,
}) : super(key: key);