Reference

DataRow

DataRow

DataRow control. Build it with the data_row helper.

Example

data_row(
  selected: true,
  color: :blue_600,
  expand: true,
  on_long_press: ->(event) {}
)

Properties

  • cells
  • color — Foreground color.
  • selected — Whether the control is selected.

Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).

Events

  • on_long_press — Fired on a long press.
  • on_select_change — Fired on select change.

Reference

  • Family: materials
  • Widget type: datarow
  • Helper: data_row