Erweiterungen
This commit is contained in:
1 parent
70a8c04516
commit
b7d45efecc
5 files changed
+117
-40
No files matched your search
@@ -11,11 +11,14 @@ import '../tools/constants.dart';
|
||||
import '../tools/util.dart';
|
||||
|
||||
class TourDetailsPage extends ContentViewWidget {
|
||||
const TourDetailsPage({super.key, required this.job, required this.tour});
|
||||
const TourDetailsPage({super.key, required this.job, required this.tour, this.readOnly = false});
|
||||
|
||||
final Job job;
|
||||
final JobTour tour;
|
||||
|
||||
final bool readOnly;
|
||||
|
||||
|
||||
@override
|
||||
State<TourDetailsPage> createState() => _TourDetailsPageState();
|
||||
|
||||
@@ -139,7 +142,7 @@ class _TourDetailsPageState extends State<TourDetailsPage> {
|
||||
const SizedBox(height: 10),
|
||||
getDefaultButton('Weiter', () =>
|
||||
{
|
||||
BroadcastReceiver().publish<ContentViewWidget>(Constants.messageTopicPushContentView, arguments: TaskListPage(tour: widget.tour))
|
||||
BroadcastReceiver().publish<ContentViewWidget>(Constants.messageTopicPushContentView, arguments: TaskListPage(tour: widget.tour, readOnly: widget.readOnly))
|
||||
}),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user