Erweiterungen
This commit is contained in:
1 parent
70a8c04516
commit
b7d45efecc
5 files changed
+117
-40
No files matched your search
@@ -21,10 +21,12 @@ import '../model/task_info.dart';
|
||||
import '../tools/util.dart';
|
||||
|
||||
class TaskListPage extends ContentViewWidget {
|
||||
const TaskListPage({super.key, required this.tour});
|
||||
const TaskListPage({super.key, required this.tour, this.readOnly = false});
|
||||
|
||||
final JobTour tour;
|
||||
|
||||
final bool readOnly;
|
||||
|
||||
@override
|
||||
State<TaskListPage> createState() => _TaskListPageState();
|
||||
|
||||
@@ -80,9 +82,12 @@ class _TaskListPageState extends State<TaskListPage> {
|
||||
child: SingleChildScrollView(
|
||||
scrollDirection: Axis.vertical,
|
||||
padding: const EdgeInsets.all(0),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: steps,
|
||||
child: AbsorbPointer(
|
||||
absorbing: widget.readOnly,
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: steps,
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user