MarcelGarus / MarcelGarus/marquee
velocity value would not be Effective right now
Open
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 363
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
i try to wacth the value if velocity by provider,
when the velocity value change the speed will be effective always need the text play one times
Selector<AllOne,Tuple5<String ,int,double,double,double >>(
shouldRebuild: (pre,next){
return pre!=next;
},
builder: (context, Tuple4Value, child) {
print('builderpriview${ Tuple4Value.item4}');
return Marquee(
text:Tuple4Value.item1,
style: TextStyle(
color: GlobalConfig.colorList[Tuple4Value.item2], // fontSize: allone.currentFontSize,
letterSpacing: Tuple4Value.item5, fontSize: Tuple4Value.item3),
scrollAxis: Axis.horizontal,
velocity: Tuple4Value.item4,
);
}, selector: (context, setC)=>Tuple5(setC.displaytext,setC.textColorIndex,setC.fontsizeValue,setC.textSpeed,setC.letterSpacing)),
Thank you for your time
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Marquee widget and the provided Selector example, reproducing the case where Tuple5.item4 changes after the widget is built. Trace how the velocity value is consumed and determine how to verify that a provider-driven velocity change takes effect without requiring the text to play again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100