Files
2021-03-22 16:49:24 +02:00

104 lines
2.8 KiB
Dart

import 'package:flutter/material.dart';
class AboutView extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
centerTitle: false,
backgroundColor: Colors.grey[200],
title: Text(
"A Propos",
style: TextStyle(
color: Colors.black,
),
),
iconTheme: IconThemeData(
color: Color(0xFF545454), //change your color here
),
),
body: Center(
child: Column(
mainAxisSize: MainAxisSize.max,
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Column(
children: [
Text(
"Le Kiosque",
style: TextStyle(
fontSize: 26,
color: Color(0xFF484848),
),
),
SizedBox(
height: 10,
),
Text(
"Version 1.0.0",
style: TextStyle(
fontSize: 17,
),
)
],
),
Container(
decoration: BoxDecoration(
color: Colors.white,
image: DecorationImage(
image: AssetImage("assets/images/kiosque_logo.png"),
),
borderRadius: BorderRadius.all(
Radius.circular(50),
),
border: Border.all(
color: Colors.white,
width: 8,
),
boxShadow: [
BoxShadow(
color: Colors.grey.withOpacity(0.5),
spreadRadius: 2,
blurRadius: 2,
offset: Offset(0, 1), // changes position of shadow
)
],
),
height: 100,
width: 100,
),
Text(
"Copyright 2020 Le Kiosque",
style: TextStyle(
fontSize: 17,
),
),
Column(
children: [
Text(
"From",
style: TextStyle(
fontSize: 20,
fontWeight: FontWeight.bold,
),
),
SizedBox(
height: 10,
),
Text(
"ZX CONNECT",
style: TextStyle(
fontSize: 22,
fontWeight: FontWeight.bold,
),
)
],
)
],
),
),
);
}
}