@@ -13,13 +13,15 @@ import 'package:taskwarrior/app/modules/detailRoute/views/tags_widget.dart';
1313import 'package:taskwarrior/app/utils/constants/constants.dart' ;
1414import 'package:taskwarrior/app/utils/gen/fonts.gen.dart' ;
1515import 'package:taskwarrior/app/utils/language/sentence_manager.dart' ;
16- import 'package:taskwarrior/app/utils/theme /app_settings.dart' ;
16+ import 'package:taskwarrior/app/utils/app_settings /app_settings.dart' ;
1717
1818class DetailRouteView extends GetView <DetailRouteController > {
1919 const DetailRouteView ({super .key});
2020
2121 @override
2222 Widget build (BuildContext context) {
23+ controller.initDetailsPageTour ();
24+ controller.showDetailsPageTour (context);
2325 return WillPopScope (
2426 onWillPop: () async {
2527 if (! controller.onEdit.value) {
@@ -135,6 +137,10 @@ class DetailRouteView extends GetView<DetailRouteController> {
135137 value: entry.value,
136138 callback: (newValue) =>
137139 controller.setAttribute (entry.key, newValue),
140+ waitKey: controller.waitKey,
141+ dueKey: controller.dueKey,
142+ untilKey: controller.untilKey,
143+ priorityKey: controller.priorityKey,
138144 ),
139145 ],
140146 ),
@@ -225,12 +231,20 @@ class AttributeWidget extends StatelessWidget {
225231 required this .name,
226232 required this .value,
227233 required this .callback,
234+ required this .waitKey,
235+ required this .dueKey,
236+ required this .priorityKey,
237+ required this .untilKey,
228238 super .key,
229239 });
230240
231241 final String name;
232242 final dynamic value;
233243 final void Function (dynamic ) callback;
244+ final GlobalKey waitKey;
245+ final GlobalKey dueKey;
246+ final GlobalKey untilKey;
247+ final GlobalKey priorityKey;
234248
235249 @override
236250 Widget build (BuildContext context) {
@@ -262,24 +276,28 @@ class AttributeWidget extends StatelessWidget {
262276 name: name,
263277 value: localValue,
264278 callback: callback,
279+ globalKey: dueKey,
265280 );
266281 case 'wait' :
267282 return DateTimeWidget (
268283 name: name,
269284 value: localValue,
270285 callback: callback,
286+ globalKey: waitKey,
271287 );
272288 case 'until' :
273289 return DateTimeWidget (
274290 name: name,
275291 value: localValue,
276292 callback: callback,
293+ globalKey: untilKey,
277294 );
278295 case 'priority' :
279296 return PriorityWidget (
280297 name: name,
281298 value: localValue,
282299 callback: callback,
300+ globalKey: priorityKey,
283301 );
284302 case 'project' :
285303 return ProjectWidget (
0 commit comments