-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ShaderMask as Column (or Row) child pushes siblings away(?) #19697
Comments
Hi @vphong, I tried below code sample. code sample
Can you please confirm if you still experience the issue on latest Flutter version (eg: dev, master) ? |
This does appear to be resolved now, thanks! |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to Reproduce
main.dart
:flutter run
and check your device against the screenshot below.Uncomment the
ShaderMask
constructor, reload, and check your device against the screenshot below.ShaderMask
ShaderMask
Expected output: first screenshot's layout with second screenshot's
Shaded Text
color.Notes:
Shaded Text
. See screenshot.Column
'smainAxisSize
toMainAxisSize.max
(rather thanmin
) further suggests that siblings are being pushed out of bounds. See screenshot.ShaderMask
's bounds...? Maybe thatRect
is what's "pushing" everything away...?Column
toRow
(and comment outListTile
sibling). I haven't tested withRow
too much though.MainAxisSize.max
Logs
flutter analyze
flutter doctor -v
I do have Flutter for vscode installed,
flutter doctor
doesn't seem to see it.The text was updated successfully, but these errors were encountered: