div-cloud-background

Cloud-style text background. Rows have a rectangular background in the specified color with rounded corners.

Parameters

Parameters Description
color

string

Required parameter.

Fill color.

Valid formats: #RGB, #ARGB, #RRGGBB, #AARRGGBB.

Available platforms: Android, web.

corner_radius

int

Required parameter.

Corner rounding radius.

Restriction for the value x: x >= 0.

Available platforms: Android, web.

type

string

Required parameter.

The value must always be cloud.

Available platforms: Android, web.

paddings

object

Margins between the row border and background border.

The value has the type div-edge-insets.

Available platforms: Android, web.

JSON
{
  type*: "cloud",
  color*: "string",
  corner_radius*: "int",
  paddings: {
    bottom: "int",
    end: "int",
    left: "int",
    right: "int",
    start: "int",
    top: "int",
    unit: "string"
  }
}