Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
41695fb1
Commit
41695fb1
authored
Jul 18, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More typos
parent
44e0d42c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
README.md
packages/flutter/README.md
+7
-7
No files found.
packages/flutter/README.md
View file @
41695fb1
...
...
@@ -7,7 +7,7 @@ Sky apps are written in Dart. To get started, we need to set up Dart SDK:
-
Ensure that
`$DART_SDK`
is set to the path of your Dart SDK and that the
`dart`
and
`pub`
executables are on your
`$PATH`
.
Once you have installed Dart SDK, create a new directory and add
ing
a
Once you have installed Dart SDK, create a new directory and add a
[
pubspec.yaml
](
https://www.dartlang.org/tools/pub/pubspec.html
)
:
```
yaml
...
...
@@ -16,14 +16,14 @@ dependencies:
sky
:
any
```
Next, create a
`lib`
directory (wh
ere your Dart code will go) and use the
`pub`
tool to fetch the Sky package and its dependencies:
Next, create a
`lib`
directory (wh
ich is where your Dart code will go) and use
t
he
`pub`
t
ool to fetch the Sky package and its dependencies:
-
`mkdir lib`
-
`pub get && pub run sky:init`
Currently Sky assumes the entry point for your application is a
`main`
functio
n
in
`lib/main.dart`
:
Sky assumes the entry point for your application is a
`main`
function i
n
`lib/main.dart`
:
```
dart
import
'package:sky/widgets/basic.dart'
;
...
...
@@ -40,7 +40,7 @@ void main() {
```
Execution starts in
`main`
, which runs a new instance of the
`HelloWorldApp`
.
The
`HelloWorldApp`
builds a
`Text`
widget containing the famous
_Hello, world!_
The
`HelloWorldApp`
builds a
`Text`
widget containing the famous
`Hello, world!`
string and centers it on the screen using a
`Center`
widget. To learn more about
the widget system, please see the
[
widgets tutorial
](
lib/widgets/README.md
)
.
...
...
@@ -51,7 +51,7 @@ Currently Sky requires an Android device running the Lollipop (or newer) version
of the Android operating system.
-
Install the
`adb`
tool from the
[
Android SDK
](
https://developer.android.com/sdk/installing/index.html
)
and ensure that
`adb (inside `
platform-tools
` in the Android SDK) is in your
and ensure that
`adb
`
(inside
`platform-tools`
in the Android SDK) is in your
`$PATH`
.
-
Enable developer mode on your device by visiting
`Settings > About phone`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment