renameTask method
Implementation
Future<void> renameTask(String newTitle) async {
// final titleField = find.byKey(TaskInfo.titleField);
// await titleField.should(findsOneWidget);
// await titleField.tap(); // switches into edit mode
// final textField = find.descendant(
// of: titleField,
// matching:
// find.byWidgetPredicate((Widget widget) => widget is TextFormField),
// );
// await textField.should(findsOneWidget);
// await textField.replaceText(newTitle);
//
// await tester.testTextInput.receiveAction(TextInputAction.done); // submit
// textfield is gone
// await textField.should(findsNothing);
}