Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add directional static members to AlignmentGeometry.#176571

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
ksokolovskyi wants to merge2 commits intoflutter:master
base:master
Choose a base branch
Loading
fromksokolovskyi:add-alignment-directional-static-members

Conversation

ksokolovskyi
Copy link
Contributor

Closes#176543

  • AddstopStart,topEnd,centerStart,centerEnd,bottomStart, andbottomEnd constants toAlignmentGeometry to enableAlignmentDirectional quick usage with dot shorthand syntax

Pre-launch Checklist

AbdeMohlbi reacted with rocket emoji
@github-actionsgithub-actionsbot added the frameworkflutter/packages/flutter repository. See also f: labels. labelOct 6, 2025
Copy link
Contributor

@gemini-code-assistgemini-code-assistbot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds several directional static members (topStart,topEnd,centerStart,centerEnd,bottomStart,bottomEnd) to theAlignmentGeometry class. This allows for more convenient use ofAlignmentDirectional constants with dot shorthand syntax. The changes are well-tested. I've found a minor copy-paste error in the documentation for one of the new members, which I've commented on.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@loic-sharmaloic-sharmaAwaiting requested review from loic-sharma

1 more reviewer

@gemini-code-assistgemini-code-assist[bot]gemini-code-assist[bot] left review comments

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
frameworkflutter/packages/flutter repository. See also f: labels.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Add AlignmentDirectional constants to AlignmentGeometry
1 participant
@ksokolovskyi

[8]ページ先頭

©2009-2025 Movatter.jp