(url string)
| 26 | } |
| 27 | |
| 28 | func AsyncImage(url string) *viewNode { |
| 29 | return &viewNode{ |
| 30 | kind: viewKindImage, |
| 31 | image: &imageData{ |
| 32 | url: url, |
| 33 | fillMode: FillContain, |
| 34 | }, |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | func (n *viewNode) Fill(mode FillMode) *viewNode { |
| 39 | if n.image != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected