height property

double? height
final

限定文本高度, 会限定 MTextField 高度为 height, 如果想设置初始高度, 在 maxLines > 1, 并且希望 MTextField 自适应高度的情况下, 推荐设置 isDense 为 true, 配合 contentPadding 来控制初始高度

Implementation

final double? height;