ModifiersBuilders.Modifiers
class ModifiersBuilders.Modifiers
Modifiers for an element. These may change the way they are drawn (e.g. Padding or Background), or change their behaviour (e.g. Clickable, or Semantics).
Summary
Nested types |
|---|
|
Builder for |
Public functions |
|
|---|---|
ModifiersBuilders.Background? |
Gets the background (with optional corner radius) of the modified element. |
ModifiersBuilders.Border? |
Gets the border of the modified element. |
ModifiersBuilders.Clickable? |
Gets the clickable property of the modified element. |
ModifiersBuilders.ElementMetadata? |
Gets metadata about an element. |
ModifiersBuilders.Padding? |
Gets the padding of the modified element. |
ModifiersBuilders.Semantics? |
Gets the semantics of the modified element. |
Public functions
fungetBackground(): ModifiersBuilders.Background?
Gets the background (with optional corner radius) of the modified element. Intended for testing purposes only.
fungetBorder(): ModifiersBuilders.Border?
Gets the border of the modified element. Intended for testing purposes only.
fungetClickable(): ModifiersBuilders.Clickable?
Gets the clickable property of the modified element. It allows its wrapped element to have actions associated with it, which will be executed when the element is tapped. Intended for testing purposes only.
fungetMetadata(): ModifiersBuilders.ElementMetadata?
Gets metadata about an element. For use by libraries building higher-level components only. This can be used to track component metadata.
fungetPadding(): ModifiersBuilders.Padding?
Gets the padding of the modified element. Intended for testing purposes only.
fungetSemantics(): ModifiersBuilders.Semantics?
Gets the semantics of the modified element. This can be used to add metadata to the modified element (eg. screen reader content descriptions). Intended for testing purposes only.