selectedArea method

Widget selectedArea(
  1. BuildContext context
)

Implementation

Widget selectedArea(BuildContext context) {
  return ListView(
    children: List.generate(client.currentArea.occupantMap.values.length, (i) {
      return Text(client.currentArea.getOccupantName(client.currentArea.occupantMap.keys.elementAt(i)));
    }),
  );
}