Skip to content

Commit 6f1b3d1

Browse files
committed
add an example
1 parent 3374f1d commit 6f1b3d1

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ Extension features:
5151
* Customizable! so developers can add their own properties and modify some features.
5252
* Supports Code completion, hover information, Go to Definition, diagnostics and code actions.
5353

54+
55+
## Example
56+
[Here is a working example](https://github.com/waseemdev/flutter_xmllayout_example)
57+
58+
5459
# Get Started
5560

5661
1. Install the extension from [vscode marketplace](https://marketplace.visualstudio.com/items?itemName=WaseemDev.flutter-xml-layout)

docs/custom-properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ StreamBuilder(
235235
### 5. :itemBuilder
236236
It's a custom `builder` property made specifically for `ListView` and `GridView`. the following code is exactly the same as the previous `builder` example:
237237
```XML
238-
<ListView :itemBuilder="item of ctrl.items | stream">
238+
<ListView :use="builder" :itemBuilder="item of ctrl.items | stream">
239239
<Text text="item.title" />
240240
</ListView>
241241
```

0 commit comments

Comments
 (0)