mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 04:49:21 +00:00
Show banner on welcome route
This commit is contained in:
parent
71a72d4f04
commit
75b06e7df8
@ -1,4 +1,5 @@
|
||||
import 'package:comunic/models/config.dart';
|
||||
import 'package:comunic/ui/widgets/banner_widget.dart';
|
||||
import 'package:comunic/utils/intl_utils.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
@ -43,7 +44,12 @@ class LoginScaffold extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
child: Scaffold(
|
||||
body: SingleChildScrollView(
|
||||
body: SafeArea(
|
||||
child: Column(
|
||||
children: [
|
||||
BannerWidget(),
|
||||
Expanded(
|
||||
child: SingleChildScrollView(
|
||||
child: Center(
|
||||
child: Container(
|
||||
height: contentHeight,
|
||||
@ -51,7 +57,7 @@ class LoginScaffold extends StatelessWidget {
|
||||
constraints: BoxConstraints(maxWidth: 300),
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
Spacer(flex: 3),
|
||||
Spacer(flex: 2),
|
||||
Text(config().appName,
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(fontSize: 50)),
|
||||
@ -80,6 +86,10 @@ class LoginScaffold extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user