astronote/lib/screens/sign_in_screen.dart
2020-07-31 17:30:32 +02:00

86 lines
2.2 KiB
Dart

import 'package:flutter/material.dart';
import 'file:///D:/AndroidStudioProjects/astronote_app/lib/widgets/footer_sign_in_widget.dart';
import 'file:///D:/AndroidStudioProjects/astronote_app/lib/widgets/form_sign_in_widget.dart';
import 'package:astronote_app/widgets/header_sign__in_widget.dart';
class LoginScreen extends StatefulWidget {
@override
_LoginScreenState createState() => _LoginScreenState();
}
class _LoginScreenState extends State<LoginScreen> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Container(
// width: double.infinity,
child: SingleChildScrollView(
padding: EdgeInsets.only(
left: MediaQuery.of(context).size.height * 0.07,
right: MediaQuery.of(context).size.height * 0.07),
// scrollDirection: Axis.vertical,
child: Column(
children: <Widget>[
HeaderLogWidget(),
SizedBox(height: MediaQuery.of(context).size.height * 0.08),
FormLogWidget(),
SizedBox(height: MediaQuery.of(context).size.height * 0.08),
FooterLogWidget(),
SizedBox(height: MediaQuery.of(context).size.height * 0.05),
],
),
),
),
);
}
// Widget _enDIUrl() {
// return InkWell(
// onTap: _enDIUrl,
// child: Text(
// "En collaboration avec enDI",
// style: style.copyWith(
// color: Colors.black,
// fontSize: 15.0,
// decoration: TextDecoration.underline),
// ),
// );
// }
//
// Widget _astrolabeUrl() {
// return InkWell(
// onTap: _launchLinkAstrolabe,
// child: Text(
// "Développé par Astrolabe",
// style: style.copyWith(
// color: Colors.black,
// fontSize: 15,
// decoration: TextDecoration.underline),
// ),
// );
// }
//
//
//
// void launchLinkEnDI() async {
// const urlEndi = "hhuh";
//
// if (await canLaunch(urlEndi)) {
// await launch(urlEndi);
// } else {
//
// }
// }
//
// void _launchLinkAstrolabe() async {
// const url = "https://astrolabe.coop";
//
// if (await canLaunch(url)) {
// await launch(url);
// } else {
//
// }
// }
}