Closed TheManuz closed 1 year ago
AnimatedSmoothIndicator with ScaleEffect has an additional margin on the right size, which causes a slight offset when wrapping the indicator in a Center widget.
AnimatedSmoothIndicator
ScaleEffect
Center
These are the settings I'm using:
AnimatedSmoothIndicator( activeIndex: index, count: count, effect: ScaleEffect( activeDotColor: colorScheme.primary, dotColor: colorScheme.primaryContainer, spacing: 8, dotWidth: 8, dotHeight: 8, ), ),
This is the result with Show guidelines enabled:
Show guidelines
The margin on the right shouldn't be there.
@TheManuz Fixed in new version
AnimatedSmoothIndicator
withScaleEffect
has an additional margin on the right size, which causes a slight offset when wrapping the indicator in aCenter
widget.These are the settings I'm using:
This is the result with
Show guidelines
enabled:The margin on the right shouldn't be there.