The actual theme to use. Canvas fill color will be ignored as it is randomly generated. If none supplied, then the default theme found in Theme."constructor" is used
Protected
subscribersListeners that are listening for changes in this theme (or fallback)
The accent fill style. Usually a saturated colour more saturated than ThemeProperties#primaryFill used for highlighting boxes which use PrimaryFill.
The accent fill style. Usually a saturated colour more saturated than ThemeProperties#primaryFill used for highlighting boxes which use PrimaryFill.
The background fill style. Used for widgets with a background (as in, a background above the canvas background).
The background fill style. Used for widgets with a background (as in, a background above the canvas background).
The background glow fill style. Used for highlighting boxes which use ThemeProperties#backgroundFill.
The background glow fill style. Used for highlighting boxes which use ThemeProperties#backgroundFill.
The blink rate of text cursors in text input widgets like TextInput. Value in "blinks" per second.
The blink rate of text cursors in text input widgets like TextInput. Value in "blinks" per second.
The default text alignment mode of body text (most regular text).
The default text alignment mode of body text (most regular text).
The fill style used for body text (most regular text).
The fill style used for body text (most regular text).
The font style used for body text (most regular text).
The font style used for body text (most regular text).
The height of each line of text in body text (most regular text). If null, it will be automatically detected.
The height of each line of text in body text (most regular text). If null, it will be automatically detected.
The spacing between each line of text in body text (most regular text). If null, it will be automatically detected.
The spacing between each line of text in body text (most regular text). If null, it will be automatically detected.
The canvas background fill style.
The canvas background fill style.
The alignment in Container for when there is extra space.
The alignment in Container for when there is extra space.
The side length of a text cursor's indicator in pixels. For now there is only a tab mode indicator.
The side length of a text cursor's indicator in pixels. For now there is only a tab mode indicator.
The thickness of a text cursor in pixels.
The thickness of a text cursor in pixels.
The fallback theme. If this theme has a missing property, the fallback theme's property will be used instead. This will automatically (un)subscribe to/from the fallback theme.
The fallback theme. If this theme has a missing property, the fallback theme's property will be used instead. This will automatically (un)subscribe to/from the fallback theme.
The background fill style used for input widgets like TextInput.
The background fill style used for input widgets like TextInput.
The background fill style used for input widgets like TextInput when text is selected.
The background fill style used for input widgets like TextInput when text is selected.
The fill style used for text in input widgets like TextInput.
The fill style used for text in input widgets like TextInput.
The fill style used for text in input widgets like TextInput when disabled.
The fill style used for text in input widgets like TextInput when disabled.
The fill style used for text in input widgets like TextInput when invalid.
The fill style used for text in input widgets like TextInput when invalid.
The font style used for text in input widgets like TextInput.
The font style used for text in input widgets like TextInput.
The height of each line of text in input widgets like TextInput. If null, it will be automatically detected.
The height of each line of text in input widgets like TextInput. If null, it will be automatically detected.
The spacing between each line of text in input widgets like TextInput. If null, it will be automatically detected.
The spacing between each line of text in input widgets like TextInput. If null, it will be automatically detected.
The fill style to use when media fails to load.
The fill style to use when media fails to load.
The alignment in MultiContainer for when there is unused space.
The alignment in MultiContainer for when there is unused space.
The spacing length between widgets in MultiContainer.
The spacing length between widgets in MultiContainer.
The primary fill style. Usually a saturated colour used for filling boxes that need to stand out.
The primary fill style. Usually a saturated colour used for filling boxes that need to stand out.
Similar to ThemeProperties#checkboxInnerPadding, but for RadioButton.
Similar to ThemeProperties#checkboxInnerPadding, but for RadioButton.
Similar to ThemeProperties#checkboxLength, but for RadioButton.
Similar to ThemeProperties#checkboxLength, but for RadioButton.
The radii to be used for rounding corners in RoundedCorners.
The radii to be used for rounding corners in RoundedCorners.
The radii to be used for rounding corners in ScrollableViewportWidget scrollbars.
The radii to be used for rounding corners in ScrollableViewportWidget scrollbars.
The minimum length of the filled part of a ScrollableViewportWidget's scrollbar in percentage of total length.
The minimum length of the filled part of a ScrollableViewportWidget's scrollbar in percentage of total length.
The minimum length of the filled part of a ScrollableViewportWidget's scrollbar in pixels.
The minimum length of the filled part of a ScrollableViewportWidget's scrollbar in pixels.
The Padding used in ScrollableViewportWidget scrollbars.
The Padding used in ScrollableViewportWidget scrollbars.
The thickness of a ScrollableViewportWidget's scrollbar in pixels.
The thickness of a ScrollableViewportWidget's scrollbar in pixels.
The fill style to paint a TooltipContainer's background with.
The fill style to paint a TooltipContainer's background with.
The Padding used in TooltipContainer.
The Padding used in TooltipContainer.
The radii to be used for rounding corners in TooltipContainer.
The radii to be used for rounding corners in TooltipContainer.
Protected
onCalled when the fallback theme changes. Does nothing by default.
The property name of the theme property that was updated. If a general theme update, then this will be null and all theme properties should be treated as changed.
Subscribe to this theme. When a change occurs in the theme, the passed listener callback will be called. The argument used for the callback will be null if the theme's fallback has changed and therefore all properties are to be assumed as changed, else, the argument will be a string containing the name of the theme property that changed.
A theme which always gives out a random canvas fill colour. Used for debugging when painting occurs. Has no properties but always has a fallback theme.