⌂
›
Reference
›
CupertinoListTile
CupertinoListTile
CupertinoListTile control. Build it with the cupertino_list_tile helper.
Example
cupertino_list_tile(
title: text("Title"),
subtitle: text("Subtitle"),
url: "https://example.com",
leading: icon("menu"),
on_click: ->(event) {}
)
Properties
additional_infobgcolor— Background color.bgcolor_activatedleading— Control placed before the main content (e.g. an icon or avatar).leading_sizeleading_to_titlenotchedpadding— Inner spacing between the border and the content.subtitle— The control shown as the secondary line below the title.title— The control shown as the title.toggle_inputstrailing— Control placed after the main content.url— URL the control loads or links to.
Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).
Events
on_animation_end— Fired when an animation completes.on_click— Fired when the control is clicked/tapped.on_size_change— Fired when the control's size changes.
Reference
- Family:
cupertinos - Widget type:
cupertinolisttile - Helper:
cupertino_list_tile