actions property

  1. @override
List<MyListTileData> actions
getter/setter pairoverride-getter

a List which all the actions that could be made for a specific DropDown IMPORTANT: the first element marks the main/default action

Implementation

@override
List<MyListTileData> actions = [
  MyListTileData(
    title: _nextViewTitle,
    icon: Icons.report_problem,
  ),
  if (!omitDetailsInLevel2and3)
    MyListTileData(
      title: "Fotos",
      icon: Icons.photo_library,
    ),
  if (!omitDetailsInLevel2and3)
    MyListTileData(
      title: "Kommentar",
      icon: Icons.text_snippet,
    ),
];