Interface CreateThemeData.Builder

  • Method Details

    • name

      The name of the theme.

      Parameters:
      name - The name of the theme.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • values

      A list of key-value pairs that defines the properties of the theme.

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

      A list of key-value pairs that defines the properties of the theme.

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

      A list of key-value pairs that defines the properties of the theme.

      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 values(List<ThemeValues>).

      Parameters:
      values - 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:
    • overrides

      Describes the properties that can be overriden to customize an instance of the theme.

      Parameters:
      overrides - Describes the properties that can be overriden to customize an instance of the theme.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrides

      CreateThemeData.Builder overrides(ThemeValues... overrides)

      Describes the properties that can be overriden to customize an instance of the theme.

      Parameters:
      overrides - Describes the properties that can be overriden to customize an instance of the theme.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrides

      Describes the properties that can be overriden to customize an instance of the theme.

      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 overrides(List<ThemeValues>).

      Parameters:
      overrides - 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:
    • tags

      One or more key-value pairs to use when tagging the theme data.

      Parameters:
      tags - One or more key-value pairs to use when tagging the theme data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.