|
|
@ -1,7 +1,6 @@
|
|
|
|
import 'dart:async';
|
|
|
|
import 'dart:async';
|
|
|
|
import 'dart:io';
|
|
|
|
import 'dart:io';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:jade_gui/classes/partition.dart';
|
|
|
|
|
|
|
|
import 'package:jade_gui/functions/partitioning/auto.dart';
|
|
|
|
import 'package:jade_gui/functions/partitioning/auto.dart';
|
|
|
|
|
|
|
|
|
|
|
|
Future<void> launchGparted() async {
|
|
|
|
Future<void> launchGparted() async {
|
|
|
@ -49,7 +48,6 @@ Widget partitionTemplate(partition, runningInfo, setRunningInfo, mountpoints,
|
|
|
|
onChanged: (String? newValue) {
|
|
|
|
onChanged: (String? newValue) {
|
|
|
|
setPartitionMountpoint(
|
|
|
|
setPartitionMountpoint(
|
|
|
|
partition(), newValue == "" ? "none" : newValue);
|
|
|
|
partition(), newValue == "" ? "none" : newValue);
|
|
|
|
print(partition().mountpoint);
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
items:
|
|
|
|
items:
|
|
|
|
mountpoints.map<DropdownMenuItem<String>>((String value) {
|
|
|
|
mountpoints.map<DropdownMenuItem<String>>((String value) {
|
|
|
@ -74,7 +72,6 @@ Widget partitionTemplate(partition, runningInfo, setRunningInfo, mountpoints,
|
|
|
|
onChanged: (String? newValue) {
|
|
|
|
onChanged: (String? newValue) {
|
|
|
|
setFilesystem(
|
|
|
|
setFilesystem(
|
|
|
|
partition(), newValue == "" ? "none" : newValue);
|
|
|
|
partition(), newValue == "" ? "none" : newValue);
|
|
|
|
print(partition().filesystem);
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
items:
|
|
|
|
items:
|
|
|
|
filesystems.map<DropdownMenuItem<String>>((String value) {
|
|
|
|
filesystems.map<DropdownMenuItem<String>>((String value) {
|
|
|
@ -260,7 +257,6 @@ Widget manualPartitioning(
|
|
|
|
),
|
|
|
|
),
|
|
|
|
onChanged: (String? newValue) {
|
|
|
|
onChanged: (String? newValue) {
|
|
|
|
setPartition(newValue!);
|
|
|
|
setPartition(newValue!);
|
|
|
|
print(disk);
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
items: disks
|
|
|
|
items: disks
|
|
|
|
.split('\n')
|
|
|
|
.split('\n')
|
|
|
|