Widgets

Arc

Arc

Arc control. Build it with the arc helper.

Example

arc(
  width: 240,
  height: 120
)

Properties

  • paint — Sets the paint property.
  • start_angle — Sets the start angle property.
  • sweep_angle — Sets the sweep angle property.
  • use_center — Sets the use center property.
  • x — Sets the x property.
  • y — Sets the y 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.
  • width — Fixed width in logical pixels.

Reference

  • Family: shared
  • Widget type: arc
  • Helpers: arc