Widgets

Marker

Marker

Marker control. Build it with the marker helper.

Example

marker(
  content: text("Marker"),
  width: 240,
  height: 120
)

Properties

  • alignment — Alignment of the content within the control.
  • content — The single child control rendered inside this control.
  • coordinates — Sets the coordinates property.

Common layout and animation properties

  • data — Arbitrary value you can attach to the control and read back in handlers.
  • height — Fixed height in logical pixels.
  • key — Stable identity used to preserve state across rebuilds.
  • rotate — Rotation applied to the control.
  • width — Fixed width in logical pixels.

Reference

  • Family: materials
  • Widget type: marker
  • Helpers: marker