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
0fcf1912
Commit
0fcf1912
authored
Aug 12, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
70869f93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
README.md
packages/flutter/lib/widgets/README.md
+4
-6
No files found.
packages/flutter/lib/widgets/README.md
View file @
0fcf1912
...
...
@@ -15,7 +15,7 @@ Hello World
To build an application, create a subclass of
`App`
and instantiate it:
```
dart
import
'package:sky/widgets
/basic
.dart'
;
import
'package:sky/widgets.dart'
;
class
HelloWorldApp
extends
App
{
Widget
build
()
{
...
...
@@ -65,7 +65,7 @@ very commonly used:
Below is a simple toolbar example that shows how to combine these widgets:
```
dart
import
'package:sky/widgets
/basic
.dart'
;
import
'package:sky/widgets.dart'
;
class
MyToolBar
extends
Component
{
Widget
build
()
{
...
...
@@ -98,7 +98,7 @@ To use this component, we simply create an instance of `MyToolBar` in a `build`
function:
```
dart
import
'package:sky/widgets
/basic
.dart'
;
import
'package:sky/widgets.dart'
;
import
'my_tool_bar.dart'
;
...
...
@@ -126,7 +126,7 @@ input. The first step in building an interactive application is to listen for
input events. Let's see how that works by creating a simple button:
```
dart
import
'package:sky/widgets
/basic
.dart'
;
import
'package:sky/widgets.dart'
;
final
BoxDecoration
_decoration
=
new
BoxDecoration
(
borderRadius:
5.0
,
...
...
@@ -441,8 +441,6 @@ working with the widgets system. For this to work, you have to have
launched your app with
`runApp()`
.
```
dart
import
'package:sky/widget/widget.dart'
;
debugDumpApp
();
```
...
...
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