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); } }