Skip to content

Commit

Permalink
docs: Fix syntax error in readme code example (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrltrent authored Dec 2, 2023
1 parent e61131d commit 79acf46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ between your Flutter app and the home screen widget.
var path = await HomeWidget.renderFlutterWidget(
const LineChart(),
key: 'lineChart',
logicalSize: Size(width: 400, height: 400),
logicalSize: const Size(400, 400),
);
```
- `LineChart()` is the widget that will be rendered as an image.
Expand Down

0 comments on commit 79acf46

Please sign in to comment.