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/install.dart

36 lines
823 B
Dart

import 'package:flutter/material.dart';
import 'package:jade_gui/classes/installPrefs.dart';
import 'package:jade_gui/classes/desktop.dart';
import 'package:jade_gui/classes/location.dart';
Widget install(
String keymap,
String layout,
bool enableSudo,
bool enableRoot,
String username,
String disk,
Desktop currDesktop,
Location locale,
) {
installPrefs prefs = installPrefs(
locale: locale,
keymap: keymap,
layout: layout,
username: username,
enableSudo: enableSudo,
enableRoot: enableRoot,
desktop: currDesktop);
return Column(
children: [
const Text(
'Installing...',
style: TextStyle(
fontSize: 50,
fontWeight: FontWeight.bold,
color: Color.fromARGB(255, 169, 0, 255)),
),
],
);
}