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

71 lines
2.0 KiB
Dart

import 'package:flutter/material.dart';
Widget welcome() {
return Container(
decoration: const BoxDecoration(
image: DecorationImage(
fit: BoxFit.cover,
image: AssetImage('assets/welcome-bg-alt.png'),
),
),
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
const SizedBox(height: 20),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: const [
Text(
'Welcome to Jade',
style: TextStyle(
fontSize: 50,
fontWeight: FontWeight.bold,
color: Color.fromARGB(255, 169, 0, 255)),
),
],
),
const SizedBox(height: 10),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: const [
Text(
'Installing crystal made easy',
style: TextStyle(
fontSize: 40,
color: Color.fromARGB(255, 169, 0, 255),
),
),
],
),
Column(
mainAxisAlignment: MainAxisAlignment.end,
children: [
Row(
mainAxisAlignment: MainAxisAlignment.end,
children: [
Column(
children: [
TextButton(
onPressed: () {},
child: const Text('Start'),
style: TextButton.styleFrom(
primary: Colors.white,
backgroundColor: Color.fromARGB(255, 169, 0, 255),
minimumSize: Size(80, 50),
padding: EdgeInsets.all(10),
),
),
const SizedBox(height: 10),
],
),
const SizedBox(width: 30),
],
),
const SizedBox(height: 7)
],
),
],
),
);
}