listItemHeight property

double? listItemHeight
final

Fixed height for each item row in the opened dropdown.

When null (the default) every row sizes itself to its content, so a custom listItemBuilder can be any height. Setting an explicit height gives every row the same extent, which also lets the list scroll more efficiently because it no longer has to measure each child.

Implementation

final double? listItemHeight;