Widgets

BarChartRod

BarChartRod

BarChartRod control. Build it with the bar_chart_rod helper.

Example

bar_chart_rod(
  color: :blue_600,
  width: 240
)

Properties

  • from_y — Sets the from y property.
  • to_y — Sets the to y property.
  • color — Foreground color.
  • gradient — Sets the gradient property.
  • border_radius — Corner radius.
  • rod_stack_items — Sets the rod stack items property.

Common layout and animation properties

  • width — Fixed width in logical pixels.

Reference

  • Family: materials
  • Widget type: barchartrod
  • Helpers: bar_chart_rod, barchartrod