Skip to content

Add dartdoc for image classes - #882

Merged
abarth merged 1 commit into
flutter:masterfrom
abarth:image_docs
Dec 11, 2015
Merged

abarth merged 1 commit into
flutter:masterfrom
abarth:image_docs

Conversation

@abarth

@abarth abarth commented Dec 10, 2015

Copy link
Copy Markdown
Contributor
  • Adds dartdoc for all the of functions.
    • Renames Image to RawImage. This widget is rarely used and shouldn't take up
      such a nice global name.

Fixes #361

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have more detail since the definition of FractionalOffset probably can't help.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(same comment for other classes with this field)

@Hixie

Hixie commented Dec 11, 2015

Copy link
Copy Markdown
Contributor

We sure have an abundance of image-related widgets.

@Hixie

Hixie commented Dec 11, 2015

Copy link
Copy Markdown
Contributor

LGTM

@abarth

abarth commented Dec 11, 2015

Copy link
Copy Markdown
Contributor Author

We sure have an abundance of image-related widgets.

Yes. Now that we have ImageProvider, I bet we could merge RawImageResource and AsyncImage. Then we could layer AssetImage and NetworkImage on top of AsyncImage.

 - Adds dartdoc for all the `of` functions.
 - Renames Image to RawImage. This widget is rarely used and shouldn't take up
   such a nice global name.

Fixes flutter#361
abarth added a commit that referenced this pull request Dec 11, 2015
Add dartdoc for image classes
@abarth
abarth merged commit 2a2784e into flutter:master Dec 11, 2015
@abarth
abarth deleted the image_docs branch December 11, 2015 02:52
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple "Image" classes is confusing

2 participants