byRows property
Define the max height of the dropdown using the number of dropdown rows, for example, if byRows = 3, the height of the dropdown will be equal to the height of three rows. The user will have to scroll if the list grows larger.
This will be ignored if byPixels is provided
Implementation
final double byRows;