Fix Auth form
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import 'package:firebase_core/firebase_core.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_settings_screens/flutter_settings_screens.dart';
|
||||
import 'package:le_kiosque_by_gcs/services/auth/main_auth.dart';
|
||||
import 'package:le_kiosque_by_gcs/ui/landing.dart';
|
||||
|
||||
void main() async {
|
||||
await Settings.init(cacheProvider: SharePreferenceCache());
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
await Firebase.initializeApp();
|
||||
runApp(MyApp());
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class AboutView extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: false,
|
||||
backgroundColor: Colors.white,
|
||||
title: Text(
|
||||
"A Propos",
|
||||
style: TextStyle(
|
||||
color: Colors.black,
|
||||
),
|
||||
),
|
||||
iconTheme: IconThemeData(
|
||||
color: Color(0xFF545454), //change your color here
|
||||
),
|
||||
),
|
||||
body: SingleChildScrollView(
|
||||
child: Center(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Text(
|
||||
"Le Kiosque",
|
||||
style: TextStyle(fontSize: 26, color: Colors.black),
|
||||
),
|
||||
Text(
|
||||
"Version 1.0.0",
|
||||
style: TextStyle(
|
||||
fontSize: 17,
|
||||
),
|
||||
),
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.grey[200],
|
||||
image: DecorationImage(
|
||||
image: AssetImage("assets/images/kiosque_logo.png"),
|
||||
),
|
||||
borderRadius: BorderRadius.all(
|
||||
Radius.circular(40),
|
||||
),
|
||||
),
|
||||
height: 80,
|
||||
width: 80,
|
||||
),
|
||||
Text(
|
||||
"Copyright 2020 Le Kiosque",
|
||||
style: TextStyle(
|
||||
fontSize: 17,
|
||||
),
|
||||
),
|
||||
Text(
|
||||
"From",
|
||||
style: TextStyle(
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
Text(
|
||||
"ZX CONNECT",
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
+4
-3
@@ -26,11 +26,12 @@ class AuthView extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
backgroundColor: Colors.grey[200],
|
||||
resizeToAvoidBottomInset: false,
|
||||
body: Column(
|
||||
body: ListView(
|
||||
children: [
|
||||
Container(
|
||||
height: 550,
|
||||
height: 470,
|
||||
decoration: BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage("assets/images/login_back.png"),
|
||||
@@ -85,7 +86,7 @@ class AuthView extends StatelessWidget {
|
||||
text: "Se connecter avec Facebook",
|
||||
),
|
||||
SizedBox(
|
||||
height: 48,
|
||||
height: 24,
|
||||
),
|
||||
Text(
|
||||
"En vous connectant, vous acceptez nos conditions et termes d'utilisation.",
|
||||
|
||||
+42
-1
@@ -1,8 +1,49 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_settings_screens/flutter_settings_screens.dart';
|
||||
|
||||
class SettingView extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container();
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: false,
|
||||
backgroundColor: Colors.white,
|
||||
title: Text(
|
||||
"Paramètres",
|
||||
style: TextStyle(
|
||||
color: Colors.black,
|
||||
),
|
||||
),
|
||||
iconTheme: IconThemeData(
|
||||
color: Color(0xFF545454), //change your color here
|
||||
),
|
||||
),
|
||||
body: Padding(
|
||||
padding: const EdgeInsets.all(16.0),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
Text(
|
||||
"Compte",
|
||||
style: TextStyle(
|
||||
fontSize: 23,
|
||||
color: Color(0xFFA7A7A7),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 8.0, bottom: 8.0),
|
||||
child: Text(
|
||||
"Changer le mot de passe",
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
color: Colors.black,
|
||||
),
|
||||
),
|
||||
),
|
||||
//Text("Changer le mot de passe")
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user