Create a new BaseTheme
Optional
properties: ThemePropertiesOptional
fallbackTheme: ThemePrivate
Optional
_accentSee accentFill. For internal use only.
Private
Optional
_backgroundSee backgroundFill. For internal use only.
Private
Optional
_backgroundSee backgroundGlowFill. For internal use only.
Private
Optional
_blinkSee blinkRate. For internal use only.
Private
Optional
_bodySee bodyTextAlign. For internal use only.
Private
Optional
_bodySee bodyTextFill. For internal use only.
Private
Optional
_bodySee bodyTextFont. For internal use only.
Private
Optional
_bodySee bodyTextHeight. For internal use only.
Private
Optional
_bodySee bodyTextSpacing. For internal use only.
Private
Optional
_canvasSee canvasFill. For internal use only.
Private
Optional
_checkboxSee checkboxInnerPadding. For internal use only.
Private
Optional
_checkboxSee checkboxLength. For internal use only.
Private
Optional
_containerSee containerAlignment. For internal use only.
Private
Optional
_containerSee containerPadding. For internal use only.
Private
Optional
_cursorSee cursorThickness. For internal use only.
Private
Optional
_fallbackSee fallbackTheme
Private
Optional
_inputSee inputBackgroundFill. For internal use only.
Private
Optional
_inputSee inputSelectBackgroundFill. For internal use only.
Private
Optional
_inputSee inputTextAlign. For internal use only.
Private
Optional
_inputSee inputTextFill. For internal use only.
Private
Optional
_inputSee inputTextFillDisabled. For internal use only.
Private
Optional
_inputSee inputTextFillInvalid. For internal use only.
Private
Optional
_inputSee inputTextFont. For internal use only.
Private
Optional
_inputSee inputTextHeight. For internal use only.
Private
Optional
_inputSee inputTextInnerPadding. For internal use only.
Private
Optional
_inputSee inputTextMinWidth. For internal use only.
Private
Optional
_inputSee inputTextSpacing. For internal use only.
Private
Optional
_multiSee multiContainerAlignment. For internal use only.
Private
Optional
_multiSee multiContainerSpacing. For internal use only.
Private
Optional
_primarySee primaryFill. For internal use only.
Private
Optional
_radioSee radioButtonInnerPadding. For internal use only.
Private
Optional
_radioSee radioButtonLength. For internal use only.
Private
Optional
_scrollSee scrollBarMinPercent. For internal use only.
Private
Optional
_scrollSee scrollBarMinPixels. For internal use only.
Private
Optional
_scrollSee scrollBarThickness. For internal use only.
Private
Optional
_sliderSee sliderMinLength. For internal use only.
Private
Optional
_sliderSee sliderThickness. For internal use only.
Private
listenerListener for theme fallback
The accent fill style. Usually a saturated colour more saturated than primaryFill used for highlighting boxes which use PrimaryFill.
The accent fill style. Usually a saturated colour more saturated than 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 backgroundFill.
The background glow fill style. Used for highlighting boxes which use 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 thickness of a text cursor in pixels.
The thickness of a text cursor in pixels.
Protected
fallbackThe 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 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 checkboxInnerPadding, but for RadioButton.
Similar to checkboxInnerPadding, but for RadioButton.
Similar to checkboxLength, but for RadioButton.
Similar to checkboxLength, but for RadioButton.
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 thickness of a ScrollableViewportWidget's scrollbar in pixels.
The thickness of a ScrollableViewportWidget's scrollbar in pixels.
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.
Generated using TypeDoc
The base class for Widget and Theme. The backbone of the theming system.