Sitelet https://github.com/flutter/flutter/pull/187529
Skip to content

Add more 0x0 size tests part 12 - #187529

Merged
auto-submit[bot] merged 17 commits into
flutter:masterfrom
ahmedsameha1:add_more_0x0_size_tests_part_12
Sep 9, 2026
Merged

auto-submit[bot] merged 17 commits into
flutter:masterfrom
ahmedsameha1:add_more_0x0_size_tests_part_12

Conversation

@ahmedsameha1

Copy link
Copy Markdown
Contributor

This is my attempt to handle #6537 for the following widgets:
Baseline
IgnoreBaseline
Stack
Positioned
PositionedDirectional
Flex
Row
Column
Flexible
Expanded

@github-actions github-actions Bot added the framework flutter/packages/flutter repository. See also f: labels. label Jun 3, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request adds tests to verify that several widgets, including 'Baseline', 'IgnoreBaseline', 'PositionedDirectional', 'Flexible', 'Expanded', 'Flex', 'Positioned', and 'Stack', do not crash when laid out in a zero-area environment. Feedback from the reviewer suggests that for 'ParentDataWidget's like 'Flexible', 'Expanded', 'Positioned', and 'PositionedDirectional', the tests should assert the size of their parent widgets rather than querying their sizes directly. Additionally, the reviewer recommends adding positioning arguments to 'Positioned' and 'PositionedDirectional' to ensure the positioned layout code path is properly exercised.

Comment thread packages/flutter/test/widgets/basic_test.dart
Comment thread packages/flutter/test/widgets/positioned_test.dart
Comment thread packages/flutter/test/widgets/flex_test.dart
Comment thread packages/flutter/test/widgets/flex_test.dart
@victorsanni victorsanni added the CICD Run CI/CD label Jun 8, 2026
victorsanni
victorsanni previously approved these changes Jun 8, 2026
@victorsanni
victorsanni requested a review from dkwingsmt June 8, 2026 22:21
dkwingsmt
dkwingsmt previously approved these changes Jun 10, 2026

@dkwingsmt dkwingsmt left a comment

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.

LGTM. Thank you!

@dkwingsmt dkwingsmt added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 10, 2026
@auto-submit
auto-submit Bot added this pull request to the merge queue Jun 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 11, 2026
@flutter-dashboard flutter-dashboard Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jun 11, 2026
@dkwingsmt dkwingsmt added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 11, 2026
@auto-submit
auto-submit Bot added this pull request to the merge queue Jun 11, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Jun 11, 2026
@flutter-dashboard flutter-dashboard Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jun 11, 2026
@ahmedsameha1
ahmedsameha1 dismissed stale reviews from dkwingsmt and victorsanni via 41f84b3 June 13, 2026 09:18
@github-actions github-actions Bot removed the CICD Run CI/CD label Jun 13, 2026
@justinmc
justinmc requested a review from dkwingsmt July 14, 2026 22:12
@flutter-dashboard flutter-dashboard Bot removed the CICD Run CI/CD label Aug 19, 2026
@victorsanni victorsanni added the CICD Run CI/CD label Aug 19, 2026
@dkwingsmt dkwingsmt added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 28, 2026
@flutter-dashboard flutter-dashboard Bot removed the CICD Run CI/CD label Aug 28, 2026
@Renzo-Olivares Renzo-Olivares added the CICD Run CI/CD label Sep 8, 2026
@Renzo-Olivares

Copy link
Copy Markdown
Contributor

Hi @ahmedsameha1 when you get a chance can you rebase your branch to the latest master to fix the "ci.yaml validation". Thank you!

@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Sep 8, 2026
@auto-submit

auto-submit Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

autosubmit label was removed for flutter/flutter/187529, because The base commit of the PR is older than 7 days and can not be merged. Please merge the latest changes from the main into this branch and resubmit the PR.

@auto-submit

auto-submit Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

autosubmit label was removed for flutter/flutter/187529, because - The status or check suite ci.yaml validation has failed. Please fix the issues identified (or deflake) before re-applying this label.

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

Labels

CICD Run CI/CD framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants