Sitelet https://github.com/flutter/flutter/issues/154
Skip to content

Widget for changing layout based on rotating device #154

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

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