NikuDropdownButton<T> constructor

NikuDropdownButton<T>(
  1. T? value, {
  2. Key? key,
  3. DropdownButtonBuilder? selectedItemBuilder,
  4. List<DropdownMenuItem<T>>? items,
  5. Widget? hint,
  6. Widget? disabledHint,
  7. ValueChanged<T?>? onChanged,
  8. VoidCallback? onTap,
  9. int? elevation,
  10. NikuTextStyle? style,
  11. Widget? underline,
  12. Widget? icon,
  13. Color? iconDisabledColor,
  14. Color? iconEnabledColor,
  15. double? iconSize,
  16. bool? isDense,
  17. bool? isExpanded,
  18. double? itemHeight,
  19. Color? focusColor,
  20. FocusNode? focusNode,
  21. bool? autofocus,
  22. Color? dropdownColor,
  23. double? menuMaxHeight,
  24. bool? enableFeedback,
  25. AlignmentGeometry? alignment,
  26. BorderRadius? borderRadius,
  27. List<T>? itemsValue,
})

Implementation

NikuDropdownButton(
  this.value, {
  Key? key,
  this.selectedItemBuilder,
  this.items,
  this.hint,
  this.disabledHint,
  this.onChanged,
  this.onTap,
  this.elevation,
  this.style,
  this.underline,
  this.icon,
  this.iconDisabledColor,
  this.iconEnabledColor,
  this.iconSize,
  this.isDense,
  this.isExpanded,
  this.itemHeight,
  this.focusColor,
  this.focusNode,
  this.autofocus,
  this.dropdownColor,
  this.menuMaxHeight,
  this.enableFeedback,
  this.alignment,
  this.borderRadius,
  this.itemsValue,
}) : super(key: key);