Experimental: this API is experimental and might be changed or removed in the future.

TextInputFieldBase.maxLength

切换到手册
public int maxLength ;

描述

字段的最大字符数。