|
|
@ -38,20 +38,23 @@ String diskType(String disk, String diskType) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Widget summary(
|
|
|
|
Widget summary(
|
|
|
|
|
|
|
|
Location locale,
|
|
|
|
String keymap,
|
|
|
|
String keymap,
|
|
|
|
String layout,
|
|
|
|
String layout,
|
|
|
|
|
|
|
|
String username,
|
|
|
|
bool enableSudo,
|
|
|
|
bool enableSudo,
|
|
|
|
bool enableRoot,
|
|
|
|
bool enableRoot,
|
|
|
|
String username,
|
|
|
|
Desktop desktop,
|
|
|
|
String disk,
|
|
|
|
String disk,
|
|
|
|
|
|
|
|
bool isEfi,
|
|
|
|
|
|
|
|
String bootloader,
|
|
|
|
|
|
|
|
String hostname,
|
|
|
|
|
|
|
|
bool ipv6,
|
|
|
|
|
|
|
|
bool enableTimeshift,
|
|
|
|
|
|
|
|
String rotational,
|
|
|
|
String diskSize,
|
|
|
|
String diskSize,
|
|
|
|
Desktop currDesktop,
|
|
|
|
|
|
|
|
Location locale,
|
|
|
|
|
|
|
|
nextPage,
|
|
|
|
|
|
|
|
setDiskType,
|
|
|
|
setDiskType,
|
|
|
|
String rotational,
|
|
|
|
nextPage) {
|
|
|
|
bool isEfi,
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
getDiskType(setDiskType, disk);
|
|
|
|
getDiskType(setDiskType, disk);
|
|
|
|
return Column(
|
|
|
|
return Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
@ -201,7 +204,7 @@ Widget summary(
|
|
|
|
),
|
|
|
|
),
|
|
|
|
const SizedBox(height: 10),
|
|
|
|
const SizedBox(height: 10),
|
|
|
|
Text(
|
|
|
|
Text(
|
|
|
|
currDesktop.name,
|
|
|
|
desktop.name,
|
|
|
|
style: const TextStyle(
|
|
|
|
style: const TextStyle(
|
|
|
|
fontSize: 20,
|
|
|
|
fontSize: 20,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
@ -211,7 +214,7 @@ Widget summary(
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
const SizedBox(height: 10),
|
|
|
|
//const SizedBox(height: 10),
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
padding: const EdgeInsets.all(10),
|
|
|
|
padding: const EdgeInsets.all(10),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(
|
|
|
@ -248,6 +251,42 @@ Widget summary(
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
//const SizedBox(height: 10),
|
|
|
|
|
|
|
|
Container(
|
|
|
|
|
|
|
|
padding: const EdgeInsets.all(10),
|
|
|
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
|
|
|
borderRadius: BorderRadius.circular(10),
|
|
|
|
|
|
|
|
border: Border.all(color: Colors.black),
|
|
|
|
|
|
|
|
color: const Color.fromARGB(255, 30, 30, 30),
|
|
|
|
|
|
|
|
boxShadow: const [
|
|
|
|
|
|
|
|
BoxShadow(
|
|
|
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
|
|
|
blurRadius: 2,
|
|
|
|
|
|
|
|
offset: Offset(-2, 3),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
child: Column(
|
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
const Text(
|
|
|
|
|
|
|
|
"Misc:",
|
|
|
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
|
|
|
fontSize: 20,
|
|
|
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
|
|
|
color: Color.fromARGB(255, 169, 0, 255),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
const SizedBox(height: 10),
|
|
|
|
|
|
|
|
infoTextTemplate("Hostname", hostname),
|
|
|
|
|
|
|
|
const SizedBox(height: 10),
|
|
|
|
|
|
|
|
infoTextTemplate("Enable IPv6", ipv6.toString()),
|
|
|
|
|
|
|
|
const SizedBox(height: 10),
|
|
|
|
|
|
|
|
infoTextTemplate(
|
|
|
|
|
|
|
|
"Enable timeshift", enableTimeshift.toString()),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|