bizz84 / bizz84/layout-demo-flutter
textBaseline is required if you specify the crossAxisAlignment with CrossAxisAlignment.baseline
- Dominant language
- Dart
- Stars
- 1.4k
- Forks
- 331
- PR merge metrics
- No merged PRs in 30d
Description
To Reproduce (from the Row/Col page):
- Set Main Axis Size: max
- Set Cross Axis Alignment: baseline
Exception:
```dart
_AssertionError ('package:flutter/src/widgets/basic.dart': Failed assertion: line 4779 pos 10: '!identical(crossAxisAlignment, CrossAxisAlignment.baseline) || textBaseline != null': textBaseline is required if you specify the crossAxisAlignment with CrossAxisAlignment.baseline)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the Row/Col page described in the reproduction and inspect the widget configuration for CrossAxisAlignment.baseline. Reproduce the assertion, then verify the page supplies the required text baseline setting and rerun the same flow without the exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100