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

ColorField.showAlpha

切换到手册
public bool showAlpha ;

描述

如果为 true,则允许用户为颜色设置 Alpha 值。如果为 false,则隐藏 Alpha 部分。