Reference

DataCell

DataCell

DataCell control. Build it with the data_cell helper.

Example

data_cell(
  content: text("DataCell"),
  expand: true,
  on_tap: ->(event) {}
)

Properties

  • content — The single child control rendered inside this control.
  • placeholder
  • show_edit_icon — Show edit icon.

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

Events

  • on_double_tap — Fired on a double tap.
  • on_long_press — Fired on a long press.
  • on_tap — Fired on a tap.
  • on_tap_cancel — Fired when a tap is cancelled.
  • on_tap_down — Fired when a pointer presses down.

Reference

  • Family: materials
  • Widget type: datacell
  • Helper: data_cell