An enum that specifies the style for TextButton
.
OUTLINED
is the default; it renders a simple text button with clear background.
FILLED
buttons have a background color you can set with TextButton.setBackgroundColor(backgroundColor)
.
To call an enum, you call its parent class, name, and property. For example,
CardService.TextButtonStyle.OUTLINED
.
Properties
Property | Type | Description |
---|---|---|
OUTLINED | Enum | Normal text button with clear background. Default. |
FILLED | Enum | Text button with colored background. |