benznest / flutter_rounded_progress_bar

Other
37 stars 13 forks source link

percent not correct represented #5

Open raugaral opened 4 years ago

raugaral commented 4 years ago

Hello, I would like to report that the progress bar is not filling up correctly. For example, percent 50 is not centered, 80 is full.

          RoundedProgressBar(
            style: RoundedProgressBarStyle(
              borderWidth: 0,
              widthShadow: 0,
              colorProgress: Color(0xFF00D970),
              // backgroundProgress: Color(0xFF1B5067),
            ),
            height: 30.0,
            margin: EdgeInsets.symmetric(vertical: 8.0),
            borderRadius: BorderRadius.circular(24),
            percent: 50, 
            childCenter: Text(
              '50%',
            ),
          ),

image

gustoliveira commented 4 years ago

I was with the same issue, I made a pull request fixing.

joaquinperaza commented 3 years ago

Please accept the PR! I am having the same issue

hackerunet commented 3 years ago

Same issue here, is this still happening?