The type parameter defines the button's type, which can be one of the values in the BtnType enum.
final BtnType type;