Skip to content

Commit d6ab7ac

Browse files
committed
v0.2.0 Release
- New simplified variables system. Variables passed into the CodelesslyWidget can now be referenced by name in the Codelessly Editor. ``` CodelesslyWidget( data: { 'title': 'My Title', 'productData': { // JSON Data 'nested': { 'json': { 'path': 'Hey there!', } } } } ) // Now you can access the variable directly in the Codelessly Editor. ${title} - 'My Title' // Or, using the `data` object. ${data.title} - 'My Title' ${data.productData.nested.json.path} - 'Hey there!' ``` - Add `>=`, `<=`, and `== null` operators. - Add data and variable support for dropdown component. - Add Material 3 Switch UI component. - Add Rounded Circular Progress Indicator component. - Improve InkWell behavior. Show Inkwell effect on top of other widgets. - Prototype implementation of custom widget embedding feature.
1 parent c7d5457 commit d6ab7ac

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
## 0.2.0
2+
- New simplified variables system. Variables passed into the CodelesslyWidget can now be referenced by name in the Codelessly Editor.
3+
4+
```
5+
CodelesslyWidget(
6+
data: {
7+
'title': 'My Title',
8+
'productData': { // JSON Data
9+
'nested': {
10+
'json': {
11+
'path': 'Hey there!',
12+
}
13+
}
14+
}
15+
}
16+
)
17+
18+
// Now you can access the variable directly in the Codelessly Editor.
19+
${title} - 'My Title'
20+
21+
// Or, using the `data` object.
22+
${data.title} - 'My Title'
23+
${data.productData.nested.json.path} - 'Hey there!'
24+
```
25+
26+
- Add `>=`, `<=`, and `== null` operators.
27+
- Add data and variable support for dropdown component.
28+
- Add Material 3 Switch UI component.
29+
- Add Rounded Circular Progress Indicator component.
30+
- Improve InkWell behavior. Show Inkwell effect on top of other widgets.
31+
- Prototype implementation of custom widget embedding feature.
32+
133
## 0.1.0
234
- Optimize SDK size by 90% by switching to SVG icons.
335
- Enable variables copy and paste.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: codelessly_api
22
description: Flutter's layouts and widgets represented as models and JSON data. This API is used by the Codelessly Editor and CloudUI SDK to render Flutter Widgets.
3-
version: 0.1.0
3+
version: 0.2.0
44
homepage: https://codelessly.com/
55
repository: https://github.com/Codelessly/CodelesslyAPI
66

0 commit comments

Comments
 (0)