Skip to content

weird shader blends fading overflowing text #18729

@ebeem

Description

@ebeem

Steps to Reproduce

gist: https://gist.github.com/ebeem/02f482530b8e71f06cec4d148c7d053d

it's probably caused by the file paragraph.dart
it seems like the author of that file knows the issue and commented it, but his workaround was removed in the PR #18616
only TextOverflow.fade has the issue,
@liyuqian

this is the code

      if (_overflowShader != null) {
        // This layer limits what the shader below blends with to be just the text
        // (as opposed to the text and its background).
        canvas.saveLayer(bounds, new Paint());
      } else {
        canvas.save();
      }

Logs

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.5.6-pre.51, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] Android Studio (version 3.1)
[✓] Android Studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] IntelliJ IDEA Ultimate Edition (version 2018.1)
[✓] Connected devices (1 available)

• No issues found!
flutter upgrade  28.66s user 8.47s system 6% cpu 8:52.48 total

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions