About screen

This commit is contained in:
2021-03-21 19:22:30 +02:00
parent dd1c8113a5
commit 67666d9a7c
+38 -10
View File
@@ -6,7 +6,7 @@ class AboutView extends StatelessWidget {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
centerTitle: false, centerTitle: false,
backgroundColor: Colors.white, backgroundColor: Colors.grey[200],
title: Text( title: Text(
"A Propos", "A Propos",
style: TextStyle( style: TextStyle(
@@ -17,34 +17,56 @@ class AboutView extends StatelessWidget {
color: Color(0xFF545454), //change your color here color: Color(0xFF545454), //change your color here
), ),
), ),
body: SingleChildScrollView( body: Center(
child: Center(
child: Column( child: Column(
mainAxisSize: MainAxisSize.max,
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Column(
children: [ children: [
Text( Text(
"Le Kiosque", "Le Kiosque",
style: TextStyle(fontSize: 26, color: Colors.black), style: TextStyle(
fontSize: 26,
color: Color(0xFF484848),
),
),
SizedBox(
height: 10,
), ),
Text( Text(
"Version 1.0.0", "Version 1.0.0",
style: TextStyle( style: TextStyle(
fontSize: 17, fontSize: 17,
), ),
)
],
), ),
Container( Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.grey[200], color: Colors.white,
image: DecorationImage( image: DecorationImage(
image: AssetImage("assets/images/kiosque_logo.png"), image: AssetImage("assets/images/kiosque_logo.png"),
), ),
borderRadius: BorderRadius.all( borderRadius: BorderRadius.all(
Radius.circular(40), Radius.circular(50),
), ),
border: Border.all(
color: Colors.white,
width: 8,
), ),
height: 80, boxShadow: [
width: 80, BoxShadow(
color: Colors.grey.withOpacity(0.5),
spreadRadius: 2,
blurRadius: 2,
offset: Offset(0, 1), // changes position of shadow
)
],
),
height: 100,
width: 100,
), ),
Text( Text(
"Copyright 2020 Le Kiosque", "Copyright 2020 Le Kiosque",
@@ -52,6 +74,8 @@ class AboutView extends StatelessWidget {
fontSize: 17, fontSize: 17,
), ),
), ),
Column(
children: [
Text( Text(
"From", "From",
style: TextStyle( style: TextStyle(
@@ -59,6 +83,9 @@ class AboutView extends StatelessWidget {
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
), ),
SizedBox(
height: 10,
),
Text( Text(
"ZX CONNECT", "ZX CONNECT",
style: TextStyle( style: TextStyle(
@@ -67,7 +94,8 @@ class AboutView extends StatelessWidget {
), ),
) )
], ],
), )
],
), ),
), ),
); );