Change all app architecture
This commit is contained in:
0
lib/screens/company_choice_screen.dart
Normal file
0
lib/screens/company_choice_screen.dart
Normal file
0
lib/screens/dashboard_screen.dart
Normal file
0
lib/screens/dashboard_screen.dart
Normal file
85
lib/screens/sign_in_screen.dart
Normal file
85
lib/screens/sign_in_screen.dart
Normal file
@@ -0,0 +1,85 @@
|
||||
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 {
|
||||
//
|
||||
// }
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user