MarcelGarus / MarcelGarus/marquee

The movement is strange when there is shadow in text style.

Open
#47 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
363
Forks
147
PR merge metrics
No merged PRs in 30d

Description

Text does not flow naturally when I run this code

```swift
Marquee(
text: "Hello",
style: TextStyle(
color: Colors.green[100],
fontSize: 100,
shadows: [
Shadow(color: Colors.green[300], blurRadius: 20 / 2),
Shadow(color: Colors.green[400], blurRadius: 20),
Shadow(color: Colors.green[500], blurRadius: 20 * 3.0)
]
),
scrollAxis: Axis.horizontal,
crossAxisAlignment: CrossAxisAlignment.center,
blankSpace: 20,
velocity: 300,
pauseAfterRound: Duration(seconds: 0),
startPadding: 10.0,
);
}
```

![ezgif-5-d7f7bf2a7b0f](https://user-images.githubusercontent.com/9502063/101383083-09aa4580-38fc-11eb-8bba-06b31456c22a.gif)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the supplied Marquee example with TextStyle shadows and observe the horizontal movement. Then trace the Marquee widget's scrolling and shadow-related layout behavior. Done means the text moves naturally with the shown shadow configuration, with no regression to the reported example.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.