Skip to content

Commit

Permalink
lesson-22
Browse files Browse the repository at this point in the history
  • Loading branch information
iamshaunjp committed Aug 15, 2019
1 parent 90cc840 commit 41b0d4f
Show file tree
Hide file tree
Showing 62 changed files with 60 additions and 130 deletions.
48 changes: 0 additions & 48 deletions quotes/lib/main.dart

This file was deleted.

25 changes: 0 additions & 25 deletions quotes/lib/quote.dart

This file was deleted.

45 changes: 0 additions & 45 deletions quotes/lib/quote_card.dart

This file was deleted.

File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion quotes/README.md → world_time_app/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# quotes
# world_time_app

A new Flutter application.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ android {

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "uk.co.thenetninja.quotes"
applicationId "uk.co.thenetninja.world_time_app"
minSdkVersion 16
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="uk.co.thenetninja.quotes">
package="uk.co.thenetninja.world_time_app">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="uk.co.thenetninja.quotes">
package="uk.co.thenetninja.world_time_app">

<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
Expand All @@ -8,7 +8,7 @@
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:label="quotes"
android:label="world_time_app"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package uk.co.thenetninja.quotes;
package uk.co.thenetninja.world_time_app;

import android.os.Bundle;
import io.flutter.app.FlutterActivity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="uk.co.thenetninja.quotes">
package="uk.co.thenetninja.world_time_app">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = uk.co.thenetninja.quotes;
PRODUCT_BUNDLE_IDENTIFIER = uk.co.thenetninja.worldTimeApp;
PRODUCT_NAME = "$(TARGET_NAME)";
VERSIONING_SYSTEM = "apple-generic";
};
Expand Down Expand Up @@ -454,7 +454,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = uk.co.thenetninja.quotes;
PRODUCT_BUNDLE_IDENTIFIER = uk.co.thenetninja.worldTimeApp;
PRODUCT_NAME = "$(TARGET_NAME)";
VERSIONING_SYSTEM = "apple-generic";
};
Expand All @@ -477,7 +477,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = uk.co.thenetninja.quotes;
PRODUCT_BUNDLE_IDENTIFIER = uk.co.thenetninja.worldTimeApp;
PRODUCT_NAME = "$(TARGET_NAME)";
VERSIONING_SYSTEM = "apple-generic";
};
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>quotes</string>
<string>world_time_app</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand Down
File renamed without changes.
7 changes: 7 additions & 0 deletions world_time_app/lib/main.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import 'package:flutter/material.dart';
import 'package:world_time_app/pages/home.dart';

void main() => runApp(MaterialApp(
home: Home(),
));

13 changes: 13 additions & 0 deletions world_time_app/lib/pages/choose_location.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import 'package:flutter/material.dart';

class ChooseLocation extends StatefulWidget {
@override
_ChooseLocationState createState() => _ChooseLocationState();
}

class _ChooseLocationState extends State<ChooseLocation> {
@override
Widget build(BuildContext context) {
return Container();
}
}
17 changes: 17 additions & 0 deletions world_time_app/lib/pages/home.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import 'package:flutter/material.dart';

class Home extends StatefulWidget {
@override
_HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: SafeArea(
child: Text('home screen'),
),
);
}
}
11 changes: 11 additions & 0 deletions world_time_app/lib/pages/loading.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import 'package:flutter/material.dart';

class Loading extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Text('loading screen'),
);
}
}

File renamed without changes.
2 changes: 1 addition & 1 deletion quotes/pubspec.yaml → world_time_app/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: quotes
name: world_time_app
description: A new Flutter application.

# The following defines the version and build number for your application.
Expand Down

0 comments on commit 41b0d4f

Please sign in to comment.