File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
examples/travel_app/lib/src
packages/flutter_genui/lib/src/catalog/core_widgets Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -435,9 +435,6 @@ ${_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
- - Use location for images from the list only - NEVER use `url` and reference
439
- images from wikipedia or other sites.
440
-
441
438
# Example
442
439
443
440
Here is an example of the arguments to the `addOrUpdateSurface` tool. Note that
Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ import '../../primitives/simple_items.dart';
10
10
11
11
final _schema = S .object (
12
12
properties: {
13
- 'location' : S .string (description: 'Asset path or network URL.' ),
13
+ 'location' : S .string (
14
+ description:
15
+ 'Asset path (e.g. assets/...) or network URL (e.g. https://...)' ,
16
+ ),
14
17
'fit' : S .string (
15
18
description: 'How the image should be inscribed into the box.' ,
16
19
enumValues: BoxFit .values.map ((e) => e.name).toList (),
You can’t perform that action at this time.
0 commit comments