Add example to ClipOval docs#157227
Conversation
nate-thegrate
left a comment
There was a problem hiding this comment.
LGTM!
I feel inspired to oval-clip my favorite cat photos 🐱
| /// {@tool snippet} | ||
| /// | ||
| /// This example clips an image of a cat using an oval. |
There was a problem hiding this comment.
Random observation: there seems to be a 50/50 split regarding whether or not to add an empty line between {@tool snippet} and the description.
There was a problem hiding this comment.
There are some crazy outliers too:
flutter/packages/flutter/lib/src/material/time_picker.dart
Lines 2967 to 2968 in a775f8a
There was a problem hiding this comment.
Hm interesting. The documentation on snippets uses an empty line, I suspect that's the preferred style. I'll do a cleanup pass on this file once my doc PRs land :)
|
(PR triage): @loic-sharma is this ready to merge? |
|
@Piinks Yup, I was keeping these open so that folks could leave feedback. I'll start merging these in. |
Updates `basic.dart` to use consistent doc snippets that follows the style from the [documentation on snippets](https://github.com/flutter/flutter/tree/master/dev/snippets#snippet-tool). Follow-up to: #157227 (comment)
No description provided.