Skip to content

Add images and examples to Align #13637

Closed

Description

@ride4sun

Steps to Reproduce

https://docs.flutter.io/flutter/widgets/Align-class.html just one of many:
Its would be helpful in general if those widget description have some small reusable snippets in them and a Picture how it would look like. If I don't find here, I search through the examples to get a overview but that is time consuming and cumbersome.

Logs

[√] Flutter (on Microsoft Windows [Version 10.0.16299.125], locale en-US, channel alpha)
    • Flutter at c:\sdks\flutter
    • Framework revision 8f65fec5f5 (4 days ago), 2017-12-12 09:50:14 -0800
    • Engine revision edaecdc8b8
    • Tools Dart version 1.25.0-dev.11.0
    • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e

[√] Android toolchain - develop for Android devices (Android SDK 27.0.1)
    • Android SDK at C:\Users\ride4\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.1
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[√] Android Studio (version 3.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[√] IntelliJ IDEA Community Edition (version 2017.2)
    • Flutter plugin version 19.1
    • Dart plugin version 172.4343.25

[√] Connected devices
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.1.1 (API 25) (emulator)

Activity

  1. InMatrix commented on Dec 17, 2017

    @InMatrix

    Thank you for your request. We understand the importance of examples and images in API docs, as we learned from earlier UX studies (see #9331). We even added these requirements in Flutter repo's style guide. There are simply too many classes to document fully. We have some ideas (#10416) about encouraging the community to add examples and images to Flutter's API docs, but we haven't exercised those ideas yet.

    At the moment, the best way anyone who cares about this issue is to 1) file issues against specific classes that you believe are in need of examples and images, or 2) go ahead and add examples and/or images to the under-documented classes. If you can help us and other developers with 2), please take a look at the style guide for requirements.

    Cc: @filiph @Hixie

  2. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Dec 3, 2018
  3. added this to the milestone on Dec 3, 2018
  4. goderbauer commented on Jan 23, 2019

    @goderbauer
    Member

    I probably makes more sense to file issues for specific elements that are lacking examples and images in the docs. Let's make this one about the Align example that you pointed out and I'm inviting everybody to file more specific issues about where the docs are lacking.

  5. changed the title [-]Flutter documentation would be more useable with small examples and Images [/-] [+]Add images and examples to Align[/+] on Jan 23, 2019
  6. Piinks commented on Mar 5, 2019

    @Piinks
    Contributor

    Looks like there is already a sample snippet for this class here, unless more examples would be helpful.

    If that be the case then we are just missing some visual representation of this widget.

  7. goderbauer commented on Mar 6, 2019

    @goderbauer
    Member

    The snippet that's there is kinda complex. Would probably be good to show some simple examples of just aligning something in the center or top-right or some such and then maybe add illustrating images to show what that would look like.

  8. self-assigned this
    on Mar 6, 2019
  9. Piinks commented on Mar 15, 2019

    @Piinks
    Contributor
  10. github-actions commented on Aug 15, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  11. locked as resolved and limited conversation to collaborators on Aug 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

d: api docsIssues with https://api.flutter.dev/frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions