Browse Source

Increased the scale of the welcome message

master
Robby Zambito 6 months ago
parent
commit
01d13c5801
1 changed files with 16 additions and 6 deletions
  1. +16
    -6
      lib/views/unauthenticated/welcome_screen.dart

+ 16
- 6
lib/views/unauthenticated/welcome_screen.dart View File

@ -16,7 +16,6 @@
import 'package:flutter/material.dart';
import 'package:hamlet_social/data/instance.dart';
import 'package:hamlet_social/views/unauthenticated/instance_selector.dart';
import 'package:hamlet_social/views/unauthenticated/sign_up.dart';
import 'package:provider/provider.dart';
class WelcomeScreen extends StatelessWidget {
@ -29,12 +28,23 @@ class WelcomeScreen extends StatelessWidget {
appBar: AppBar(
title: const Text('Hamlet'),
),
body: Flex(
children: <Widget>[
Title(child: Text('Welcome to Hamlet!'), color: Colors.black),
InstanceSelector(hamletInstances),
body: Column(
children: [
Center(
child: Padding(
padding: const EdgeInsets.only(top: 80, left: 15, right: 15),
child: Text(
'Welcome to Hamlet!',
textScaleFactor: 2.5,
),
),
),
Expanded(
child: Container(
margin: const EdgeInsets.only(top: 150),
child: InstanceSelector(hamletInstances)),
),
],
direction: Axis.vertical,
),
);
}

Loading…
Cancel
Save