|
|
@ -91,25 +91,29 @@ Widget misc(
|
|
|
|
border: Border.all(color: Colors.black45),
|
|
|
|
border: Border.all(color: Colors.black45),
|
|
|
|
color: const Color.fromARGB(100, 30, 30, 30),
|
|
|
|
color: const Color.fromARGB(100, 30, 30, 30),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
child: CheckboxListTile(
|
|
|
|
child: Tooltip(
|
|
|
|
title: const Text('Enable root user',
|
|
|
|
message:
|
|
|
|
style: TextStyle(color: Colors.white)),
|
|
|
|
"Enables the root user, who has access to everything in the system",
|
|
|
|
value: enableRoot,
|
|
|
|
child: CheckboxListTile(
|
|
|
|
onChanged: (bool? value) {
|
|
|
|
title: const Text('Enable root user',
|
|
|
|
setRootUser(value!);
|
|
|
|
style: TextStyle(color: Colors.white)),
|
|
|
|
},
|
|
|
|
value: enableRoot,
|
|
|
|
secondary: Container(
|
|
|
|
onChanged: (bool? value) {
|
|
|
|
decoration: const BoxDecoration(
|
|
|
|
setRootUser(value!);
|
|
|
|
shape: BoxShape.circle,
|
|
|
|
},
|
|
|
|
color: Colors.white,
|
|
|
|
secondary: Container(
|
|
|
|
),
|
|
|
|
decoration: const BoxDecoration(
|
|
|
|
padding: const EdgeInsets.fromLTRB(10, 10, 10, 13),
|
|
|
|
shape: BoxShape.circle,
|
|
|
|
child: const Text(
|
|
|
|
color: Colors.white,
|
|
|
|
'#',
|
|
|
|
),
|
|
|
|
style: TextStyle(
|
|
|
|
padding: const EdgeInsets.fromLTRB(10, 10, 10, 13),
|
|
|
|
fontSize: 20,
|
|
|
|
child: const Text(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
'#',
|
|
|
|
color: Colors.black,
|
|
|
|
style: TextStyle(
|
|
|
|
|
|
|
|
fontSize: 20,
|
|
|
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
@ -185,25 +189,28 @@ Widget misc(
|
|
|
|
border: Border.all(color: Colors.black45),
|
|
|
|
border: Border.all(color: Colors.black45),
|
|
|
|
color: const Color.fromARGB(100, 30, 30, 30),
|
|
|
|
color: const Color.fromARGB(100, 30, 30, 30),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
child: CheckboxListTile(
|
|
|
|
child: Tooltip(
|
|
|
|
title: const Text('Enable ipv6',
|
|
|
|
message: "Enables ipv6",
|
|
|
|
style: TextStyle(color: Colors.white)),
|
|
|
|
child: CheckboxListTile(
|
|
|
|
value: ipv6,
|
|
|
|
title: const Text('Enable ipv6',
|
|
|
|
onChanged: (bool? value) {
|
|
|
|
style: TextStyle(color: Colors.white)),
|
|
|
|
setIpv6(value!);
|
|
|
|
value: ipv6,
|
|
|
|
},
|
|
|
|
onChanged: (bool? value) {
|
|
|
|
secondary: Container(
|
|
|
|
setIpv6(value!);
|
|
|
|
decoration: const BoxDecoration(
|
|
|
|
},
|
|
|
|
shape: BoxShape.circle,
|
|
|
|
secondary: Container(
|
|
|
|
color: Colors.white,
|
|
|
|
decoration: const BoxDecoration(
|
|
|
|
),
|
|
|
|
shape: BoxShape.circle,
|
|
|
|
padding: const EdgeInsets.fromLTRB(10, 10, 10, 13),
|
|
|
|
color: Colors.white,
|
|
|
|
child: const Text(
|
|
|
|
),
|
|
|
|
'v6',
|
|
|
|
padding: const EdgeInsets.fromLTRB(10, 10, 10, 13),
|
|
|
|
style: TextStyle(
|
|
|
|
child: const Text(
|
|
|
|
fontSize: 20,
|
|
|
|
'v6',
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
style: TextStyle(
|
|
|
|
color: Colors.black,
|
|
|
|
fontSize: 20,
|
|
|
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
@ -217,20 +224,25 @@ Widget misc(
|
|
|
|
border: Border.all(color: Colors.black45),
|
|
|
|
border: Border.all(color: Colors.black45),
|
|
|
|
color: const Color.fromARGB(100, 30, 30, 30),
|
|
|
|
color: const Color.fromARGB(100, 30, 30, 30),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
child: CheckboxListTile(
|
|
|
|
child: Tooltip(
|
|
|
|
title: const Text('Enable timeshift',
|
|
|
|
message:
|
|
|
|
style: TextStyle(color: Colors.white)),
|
|
|
|
"Enables timeshift to automatically make backups",
|
|
|
|
value: timeshift,
|
|
|
|
child: CheckboxListTile(
|
|
|
|
onChanged: (bool? value) {
|
|
|
|
title: const Text('Enable timeshift',
|
|
|
|
setTimeshift(value!);
|
|
|
|
style: TextStyle(color: Colors.white)),
|
|
|
|
},
|
|
|
|
value: timeshift,
|
|
|
|
secondary: Container(
|
|
|
|
onChanged: (bool? value) {
|
|
|
|
decoration: const BoxDecoration(
|
|
|
|
setTimeshift(value!);
|
|
|
|
shape: BoxShape.circle,
|
|
|
|
},
|
|
|
|
color: Colors.white,
|
|
|
|
secondary: Container(
|
|
|
|
|
|
|
|
decoration: const BoxDecoration(
|
|
|
|
|
|
|
|
shape: BoxShape.circle,
|
|
|
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
padding: const EdgeInsets.fromLTRB(10, 10, 10, 13),
|
|
|
|
|
|
|
|
child:
|
|
|
|
|
|
|
|
const Icon(Icons.restore, color: Colors.black),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
padding: const EdgeInsets.fromLTRB(10, 10, 10, 13),
|
|
|
|
|
|
|
|
child: const Icon(Icons.restore, color: Colors.black),
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|