Skip to content

Widget for changing layout based on rotating device #154

Closed

Description

@FlutterIssues

Issue by Hixie
Monday Aug 31, 2015 at 18:19 GMT
Originally opened as https://github.com/flutter/engine/issues/963


We should have a Widget that takes two build functions as constructor arguments and calls one or the other based on whether the aspect ratio it is to be laid out in is horizontal or vertical.

Maybe this should be a layout callback case.

Ideally this would be written is such a way as to be ready to handle iOS-style rotation animations.

Activity

  1. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    c: new featureNothing broken; request for a new capability
    on Nov 9, 2015
  2. FlutterIssues commented on Nov 9, 2015

    @FlutterIssues
    Author

    Comment by abarth
    Tuesday Nov 03, 2015 at 05:27 GMT


    We have MediaQuery now. Is that sufficient or is more work needed here? /cc @collinjackson

  3. Hixie commented on Dec 16, 2015

    @Hixie
    Contributor

    I'm going to close this one. If we have specific needs we should open a new bug.

  4. github-actions commented on Sep 6, 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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilityframeworkflutter/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