You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jade_gui/lib/functions/partition.dart

60 lines
1.2 KiB
Dart

import 'package:flutter/material.dart';
import 'package:jade_gui/functions/partitioning/auto.dart';
import 'package:jade_gui/functions/partitioning/manual.dart';
Widget partitioning(
disks,
setState,
setPartition,
next,
setPartitionInfo,
selectedPartition,
partitionInfo,
runningPart,
setRunningPart,
runningInfo,
setRunningInfo,
doManualPartitioning,
setManual,
runningPartMan,
runningInfoMan,
setRunningPartMan,
setRunningInfoMan,
setPartitions,
partitions,
setPartitionMountPoint,
setFilesystem,
) {
if (doManualPartitioning) {
setRunningInfoMan(false);
return manualPartitioning(
partitions,
setPartitions,
runningPartMan,
setRunningPartMan,
runningInfoMan,
setRunningInfoMan,
setPartitionMountPoint,
setManual,
next,
setFilesystem,
);
} else {
setRunningInfo(false);
setRunningPart(false);
return autoPartitioning(
disks,
setState,
setPartition,
next,
setPartitionInfo,
selectedPartition,
partitionInfo,
runningPart,
setRunningPart,
runningInfo,
setRunningInfo,
setManual);
}
}