animated_flip_counter 0.3.0 copy "animated_flip_counter: ^0.3.0" to clipboard
animated_flip_counter: ^0.3.0 copied to clipboard

An implicit animation widget that flips from one number to another, with support for customize styles, decimals and negative values.

0.3.0 #

  • Added a hideLeadingZeroes property. Useful when number of digits is expected to increase (e.g. going from 99 to 100), you can use wholeDigits: 3 to pad a leading zero, and this to hide padded zeroes. Although invisible, they help deliver a smoother animation when new digits appear.
  • Added a negativeSignDuration property, to control the duration of the negative sign animation. Default value is 150 ms, half of the duration of the main animation, so it feels snappier.
  • Added a infix property, to display a string between the negative sign and the number. For example, setting infix: '$' will display -$123.45.

0.2.6 #

  • Updated Flutter SDK version requirement to ">=2.12.0 <4.0.0".

0.2.5 #

  • Added a padding property, to set an optional padding for each digit.

0.2.4 #

  • Fixed an issue where some digits were misaligned for some fonts.

0.2.3 #

  • Fixed an issue when the text style is not opaque.
  • Added a mainAxisAlignment property, to control the alignment of the digits.

0.2.2 #

  • Fixed an issue with some animation curves (e.g. Curves.elasticOut).

0.2.1 #

  • Added thousandSeparator property. E.g. thousandSeparator: ',' turns 1000 into 1,000.
  • Added decimalSeparator property to customize the decimal point for certain locale.

0.2.0 #

  • Added wholeDigits property. E.g. wholeDigits: 4 turns 48 into 0048.

0.1.2 #

  • Added animation curve support.

0.1.1 #

  • Fixed an issue where TextStyle shadows would incorrectly appear for the negative sign.

0.1.0 #

  • Initial Open Source release.
433
likes
0
pub points
98%
popularity

Publisher

unverified uploader

An implicit animation widget that flips from one number to another, with support for customize styles, decimals and negative values.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on animated_flip_counter