File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
examples/travel_app/lib/src
packages/flutter_genui/test Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -435,6 +435,8 @@ ${_imagesJson ?? ''}
435
435
list that might be tangentially relevant. DO NOT USE ANY IMAGES NOT IN THE LIST.
436
436
It is fine if the image is irrelevant, as long as it is from the list.
437
437
438
+ - Image location always should be an asset path (e.g. assets/...).
439
+
438
440
# Example
439
441
440
442
Here is an example of the arguments to the `addOrUpdateSurface` tool. Note that
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ void main() {
19
19
builder: (context) => Scaffold (
20
20
body: image.widgetBuilder (
21
21
data: {
22
- 'url ' :
22
+ 'location ' :
23
23
'https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png' ,
24
24
},
25
25
id: 'test_image' ,
You can’t perform that action at this time.
0 commit comments