Skip to content

Commit

Permalink
Initial test run
Browse files Browse the repository at this point in the history
  • Loading branch information
letsintegreat committed Jun 1, 2022
1 parent a8b7b21 commit 203312e
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 8 deletions.
1 change: 1 addition & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ linter:
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
prefer_const_constructors : false

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
4 changes: 3 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.diary"
minSdkVersion flutter.minSdkVersion
minSdkVersion 19
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
multiDexEnabled true
}

buildTypes {
Expand All @@ -65,4 +66,5 @@ flutter {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:multidex:1.0.3'
}
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
buildscript {
ext.kotlin_version = '1.3.50'
ext.kotlin_version = '1.6.21'
repositories {
google()
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath 'com.android.tools.build:gradle:4.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand Down
28 changes: 25 additions & 3 deletions lib/AuthPage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,31 @@ class AuthPage extends StatefulWidget {
}

class _AuthPage extends State<AuthPage> {

final TextEditingController _emailController = TextEditingController();
final TextEditingController _passwordController = TextEditingController();
final String _emailError = "";
final String _passwordError = "";

@override
Widget build(BuildContext context) {
// TODO: implement build
throw UnimplementedError();
return MaterialApp(
debugShowCheckedModeBanner: false,
title: "Dairy",
home: Scaffold(
appBar: AppBar(
title: const Text(
'Login'
),
),
body: Center(
child: Column(
children: [

],
),
),
),
);
}
}
}
15 changes: 13 additions & 2 deletions lib/HomePage.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class HomePage extends StatefulWidget {
const HomePage({Key? key}) : super(key: key);
Expand All @@ -9,7 +10,17 @@ class HomePage extends StatefulWidget {
class _HomePage extends State<HomePage> {
@override
Widget build(BuildContext context) {
// TODO: implement build
throw UnimplementedError();
return MaterialApp(
debugShowCheckedModeBanner: false,
title: "Dairy",
home: Scaffold(
appBar: AppBar(
title: const Text(
"Welcome"
),
),
body: Center(),
),
);
}
}

0 comments on commit 203312e

Please sign in to comment.