|
@ -1,5 +1,4 @@ |
|
|
import 'package:flutter/material.dart'; |
|
|
import 'package:flutter/material.dart'; |
|
|
import 'package:font_awesome_flutter/font_awesome_flutter.dart'; |
|
|
|
|
|
import './login.dart'; |
|
|
import './login.dart'; |
|
|
import './signup.dart'; |
|
|
import './signup.dart'; |
|
|
|
|
|
|
|
@ -15,8 +14,8 @@ class _UnauthenticatedLandingWidgetState extends State<UnauthenticatedLandingWid |
|
|
@override |
|
|
@override |
|
|
Widget build(BuildContext context) { |
|
|
Widget build(BuildContext context) { |
|
|
final ButtonStyle buttonStyle = ElevatedButton.styleFrom( |
|
|
final ButtonStyle buttonStyle = ElevatedButton.styleFrom( |
|
|
primary: Theme.of(context).colorScheme.surface, |
|
|
|
|
|
onPrimary: Theme.of(context).colorScheme.onSurface, |
|
|
|
|
|
|
|
|
backgroundColor: Theme.of(context).colorScheme.surface, |
|
|
|
|
|
foregroundColor: Theme.of(context).colorScheme.onSurface, |
|
|
minimumSize: const Size.fromHeight(50), |
|
|
minimumSize: const Size.fromHeight(50), |
|
|
padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 10), |
|
|
padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 10), |
|
|
textStyle: const TextStyle( |
|
|
textStyle: const TextStyle( |
|
@ -36,23 +35,14 @@ class _UnauthenticatedLandingWidgetState extends State<UnauthenticatedLandingWid |
|
|
children: <Widget>[ |
|
|
children: <Widget>[ |
|
|
Center( |
|
|
Center( |
|
|
child: Row( |
|
|
child: Row( |
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
|
children: [ |
|
|
|
|
|
FaIcon( |
|
|
|
|
|
FontAwesomeIcons.envelope, |
|
|
|
|
|
color: Theme.of(context).colorScheme.onBackground, |
|
|
|
|
|
size: 40 |
|
|
|
|
|
), |
|
|
|
|
|
const SizedBox(width: 15), |
|
|
|
|
|
Text( |
|
|
|
|
|
'Envelope', |
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
fontSize: 40, |
|
|
|
|
|
color: Theme.of(context).colorScheme.onBackground, |
|
|
|
|
|
), |
|
|
|
|
|
) |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
|
children: const [ |
|
|
|
|
|
Image( |
|
|
|
|
|
image: AssetImage('assets/logo_orange.png'), |
|
|
|
|
|
height: 150, |
|
|
|
|
|
) |
|
|
|
|
|
] |
|
|
), |
|
|
), |
|
|
), |
|
|
), |
|
|
const SizedBox(height: 10), |
|
|
const SizedBox(height: 10), |
|
|