Interface ThemeValue.Builder

  • Method Details

    • value

      ThemeValue.Builder value(String value)

      The value of a theme property.

      Parameters:
      value - The value of a theme property.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • children

      A list of key-value pairs that define the theme's properties.

      Parameters:
      children - A list of key-value pairs that define the theme's properties.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • children

      ThemeValue.Builder children(ThemeValues... children)

      A list of key-value pairs that define the theme's properties.

      Parameters:
      children - A list of key-value pairs that define the theme's properties.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • children

      A list of key-value pairs that define the theme's properties.

      This is a convenience method that creates an instance of the ThemeValues.Builder avoiding the need to create one manually via ThemeValues.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to children(List<ThemeValues>).

      Parameters:
      children - a consumer that will call methods on ThemeValues.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: