Score addCommandRet(Widget command) { var commands = List<Widget>.from(_commands); commands.add(command); return Score(entity, score, addNew: false, commands: commands, type: type); }