MarcelGarus / MarcelGarus/marquee

velocity value would not be Effective right now

Open
#65 0 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

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.