Skip to content

Commit e126f07

Browse files
committed
finished 7
1 parent 47d00cf commit e126f07

File tree

7 files changed

+139
-24
lines changed

7 files changed

+139
-24
lines changed

myapp/.vscode/launch.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Flutter",
9+
"request": "launch",
10+
"type": "dart"
11+
}
12+
]
13+
}
54 KB
Binary file not shown.

myapp/ios/Flutter/Flutter.podspec

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# NOTE: This podspec is NOT to be published. It is only used as a local source!
3+
#
4+
5+
Pod::Spec.new do |s|
6+
s.name = 'Flutter'
7+
s.version = '1.0.0'
8+
s.summary = 'High-performance, high-fidelity mobile apps.'
9+
s.description = <<-DESC
10+
Flutter provides an easy and productive way to build and deploy high-performance mobile apps for Android and iOS.
11+
DESC
12+
s.homepage = 'https://flutter.io'
13+
s.license = { :type => 'MIT' }
14+
s.author = { 'Flutter Dev Team' => '[email protected]' }
15+
s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
16+
s.ios.deployment_target = '8.0'
17+
s.vendored_frameworks = 'Flutter.framework'
18+
end
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
# This is a generated file; do not edit or check into version control.
3+
export "FLUTTER_ROOT=/Users/masaki/workspace/flutter"
4+
export "FLUTTER_APPLICATION_PATH=/Users/masaki/workspace/flutter_apps/flutter-beginners-tutorial/myapp"
5+
export "FLUTTER_TARGET=/Users/masaki/workspace/flutter_apps/flutter-beginners-tutorial/myapp/lib/main.dart"
6+
export "FLUTTER_BUILD_DIR=build"
7+
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
8+
export "FLUTTER_FRAMEWORK_DIR=/Users/masaki/workspace/flutter/bin/cache/artifacts/engine/ios"
9+
export "FLUTTER_BUILD_NAME=1.0.0"
10+
export "FLUTTER_BUILD_NUMBER=1"
11+
export "TRACK_WIDGET_CREATION=true"

myapp/lib/main.dart

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,38 @@
11
import 'package:flutter/material.dart';
2+
import 'package:flutter/semantics.dart';
23

34
void main() => runApp(MaterialApp(
4-
home: Text('hey ninjas!!')
5+
home: Home()
56
));
67

7-
8+
class Home extends StatelessWidget {
9+
@override
10+
Widget build(BuildContext context) {
11+
return Scaffold(
12+
appBar: AppBar(
13+
title: Text(
14+
'my first app',
15+
),
16+
centerTitle: true,
17+
backgroundColor: Colors.red,
18+
),
19+
body: Center(
20+
child: Text(
21+
'Hello, ninjas!',
22+
style: TextStyle(
23+
fontSize: 20.0,
24+
fontWeight: FontWeight.bold,
25+
letterSpacing: 2.0,
26+
color: Colors.grey[600],
27+
fontFamily: 'IndieFlower',
28+
),
29+
),
30+
),
31+
floatingActionButton: FloatingActionButton(
32+
onPressed: () {},
33+
child: Text('click!'),
34+
backgroundColor: Colors.red[600],
35+
),
36+
);
37+
}
38+
}

myapp/pubspec.lock

Lines changed: 59 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,34 @@
11
# Generated by pub
22
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
4+
archive:
5+
dependency: transitive
6+
description:
7+
name: archive
8+
url: "https://pub.dartlang.org"
9+
source: hosted
10+
version: "2.0.11"
11+
args:
12+
dependency: transitive
13+
description:
14+
name: args
15+
url: "https://pub.dartlang.org"
16+
source: hosted
17+
version: "1.5.2"
418
async:
519
dependency: transitive
620
description:
721
name: async
822
url: "https://pub.dartlang.org"
923
source: hosted
10-
version: "2.2.0"
24+
version: "2.4.0"
1125
boolean_selector:
1226
dependency: transitive
1327
description:
1428
name: boolean_selector
1529
url: "https://pub.dartlang.org"
1630
source: hosted
17-
version: "1.0.4"
31+
version: "1.0.5"
1832
charcode:
1933
dependency: transitive
2034
description:
@@ -29,6 +43,20 @@ packages:
2943
url: "https://pub.dartlang.org"
3044
source: hosted
3145
version: "1.14.11"
46+
convert:
47+
dependency: transitive
48+
description:
49+
name: convert
50+
url: "https://pub.dartlang.org"
51+
source: hosted
52+
version: "2.1.1"
53+
crypto:
54+
dependency: transitive
55+
description:
56+
name: crypto
57+
url: "https://pub.dartlang.org"
58+
source: hosted
59+
version: "2.1.3"
3260
cupertino_icons:
3361
dependency: "direct main"
3462
description:
@@ -46,41 +74,55 @@ packages:
4674
description: flutter
4775
source: sdk
4876
version: "0.0.0"
77+
image:
78+
dependency: transitive
79+
description:
80+
name: image
81+
url: "https://pub.dartlang.org"
82+
source: hosted
83+
version: "2.1.4"
4984
matcher:
5085
dependency: transitive
5186
description:
5287
name: matcher
5388
url: "https://pub.dartlang.org"
5489
source: hosted
55-
version: "0.12.5"
90+
version: "0.12.6"
5691
meta:
5792
dependency: transitive
5893
description:
5994
name: meta
6095
url: "https://pub.dartlang.org"
6196
source: hosted
62-
version: "1.1.6"
97+
version: "1.1.8"
6398
path:
6499
dependency: transitive
65100
description:
66101
name: path
67102
url: "https://pub.dartlang.org"
68103
source: hosted
69-
version: "1.6.2"
104+
version: "1.6.4"
70105
pedantic:
71106
dependency: transitive
72107
description:
73108
name: pedantic
74109
url: "https://pub.dartlang.org"
75110
source: hosted
76-
version: "1.7.0"
111+
version: "1.8.0+1"
112+
petitparser:
113+
dependency: transitive
114+
description:
115+
name: petitparser
116+
url: "https://pub.dartlang.org"
117+
source: hosted
118+
version: "2.4.0"
77119
quiver:
78120
dependency: transitive
79121
description:
80122
name: quiver
81123
url: "https://pub.dartlang.org"
82124
source: hosted
83-
version: "2.0.3"
125+
version: "2.0.5"
84126
sky_engine:
85127
dependency: transitive
86128
description: flutter
@@ -113,7 +155,7 @@ packages:
113155
name: string_scanner
114156
url: "https://pub.dartlang.org"
115157
source: hosted
116-
version: "1.0.4"
158+
version: "1.0.5"
117159
term_glyph:
118160
dependency: transitive
119161
description:
@@ -127,7 +169,7 @@ packages:
127169
name: test_api
128170
url: "https://pub.dartlang.org"
129171
source: hosted
130-
version: "0.2.5"
172+
version: "0.2.11"
131173
typed_data:
132174
dependency: transitive
133175
description:
@@ -142,5 +184,12 @@ packages:
142184
url: "https://pub.dartlang.org"
143185
source: hosted
144186
version: "2.0.8"
187+
xml:
188+
dependency: transitive
189+
description:
190+
name: xml
191+
url: "https://pub.dartlang.org"
192+
source: hosted
193+
version: "3.5.0"
145194
sdks:
146-
dart: ">=2.2.2 <3.0.0"
195+
dart: ">=2.4.0 <3.0.0"

myapp/pubspec.yaml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,10 @@ flutter:
5656
# "family" key with the font family name, and a "fonts" key with a
5757
# list giving the asset and other descriptors for the font. For
5858
# example:
59-
# fonts:
60-
# - family: Schyler
61-
# fonts:
62-
# - asset: fonts/Schyler-Regular.ttf
63-
# - asset: fonts/Schyler-Italic.ttf
64-
# style: italic
65-
# - family: Trajan Pro
66-
# fonts:
67-
# - asset: fonts/TrajanPro.ttf
68-
# - asset: fonts/TrajanPro_Bold.ttf
69-
# weight: 700
70-
#
59+
fonts:
60+
- family: IndieFlower
61+
fonts:
62+
- asset: fonts/IndieFlower-Regular.ttf
63+
7164
# For details regarding fonts from package dependencies,
7265
# see https://flutter.dev/custom-fonts/#from-packages

0 commit comments

Comments
 (0)