flutter_percent_indicator icon indicating copy to clipboard operation
flutter_percent_indicator copied to clipboard

arcType.FULL but it not show full circle

Open htvu opened this issue 3 years ago • 2 comments

I use sample code with arcType.FULL but it not show full circle

CircularPercentIndicator(
              radius: 20.0,
              animation: true,
              animationDuration: 1000,
              lineWidth: 4.0,
              percent: 1,
              reverse: false,
              arcType: ArcType.FULL_REVERSED,
              startAngle: 45.0,
              circularStrokeCap: CircularStrokeCap.square,
              arcBackgroundColor: Colors.grey[400],
              progressColor: Colors.blue,
            ),

Simulator Screen Shot - iPhone SE (3rd generation) - 2022-08-11 at 22 57 54 .

htvu avatar Aug 11 '22 16:08 htvu

is this only happening with ArcType.FULL_REVERSED ?

diegoveloper avatar Aug 11 '22 16:08 diegoveloper

is this only happening with ArcType.FULL_REVERSED ?

No, both FULL and FULL_REVERSED

percent_indicator: ^4.2.2 Flutter 3.0.5, Dart 2.17.6 iPhone SE, iOS 15.5 simulator

htvu avatar Aug 12 '22 13:08 htvu

Are you sure you are using the latest version? can you check your pubspec.lock ? I tried your code :

            CircularPercentIndicator(
              radius: 20.0,
              animation: true,
              animationDuration: 1000,
              lineWidth: 4.0,
              percent: 1,
              reverse: false,
              arcType: ArcType.FULL_REVERSED,
              startAngle: 45.0,
              circularStrokeCap: CircularStrokeCap.square,
              arcBackgroundColor: Colors.grey[400],
              progressColor: Colors.blue,
            ),
            const SizedBox(height: 20),
            CircularPercentIndicator(
              radius: 20.0,
              animation: true,
              animationDuration: 1000,
              lineWidth: 4.0,
              percent: 1,
              reverse: false,
              arcType: ArcType.FULL,
              startAngle: 45.0,
              circularStrokeCap: CircularStrokeCap.square,
              arcBackgroundColor: Colors.grey[400],
              progressColor: Colors.blue,
            ),

And this is the result: Screen Shot 2022-08-23 at 10 34 20 PM

diegoveloper avatar Aug 24 '22 03:08 diegoveloper

How to make it show full circle ?

htvu avatar Aug 25 '22 14:08 htvu

remove arcType parameter, you should see the samples inside the package.

diegoveloper avatar Aug 25 '22 14:08 diegoveloper