flutter / flutter/devtools

CrossAxisAlignment.baseline is missing from cross axis selection options in Layout Explorer

Open
#2,192 0 comments 0 reactions 0 assignees View on GitHub
cost: medium enhancement P3 screen: inspector
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

During my internship, I didn't get to implement the logic for visualizing CrossAxisAlignment.baseline because more often than not the baseline of the Flex widget would be null and triggering the change to baseline would trigger an error.

This issue is related to #1610, once #1610 is resolved, we can consider adding CrossAxisAlignment.baseline on the baseline?

Contributor guide

Open the contributing guide

Research direction

Start by reading issue #1610, then trace the Layout Explorer's cross-axis selection and reproduce the error when switching to baseline with a Flex whose baseline is null. Done means CrossAxisAlignment.baseline can be selected and visualized without triggering the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.