animated_flip_counter 0.3.4 animated_flip_counter: ^0.3.4 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.4 #
- Increased Flutter version requirement to v3.16.9. If you are using an older Flutter version, you can still use version 0.3.3 of the package.
- Replaced
textScaleFactor
withtextScaler
so text scaling works better on some devices.
0.3.3 #
- Fixed a compatibility issue for those using older Flutter SDK (prior to 3.12.0) by reverting
the
textScaler
change made in 0.3.1.
0.3.2 #
- Fixed an issue where numbers were incorrectly reversed for RTL languages.
0.3.1 #
- Replaced
textScaleFactor
withtextScaler
so text scaling works better on some devices. - For fonts that have both tabular (monospaced) and proportional (varying width) figures, we start
requesting
tabular figures
, so that they work better with the animation on each digit.
0.3.0 #
- Added a
hideLeadingZeroes
property. Useful when number of digits is expected to grow (e.g. going from 99 to 100), you can usewholeDigits: 3
to pad a leading zero, and use this new property to hide padded zeroes. Although not visible, the padded zeroes help improve 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, settinginfix: '$'
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: ','
turns1000
into1,000
. - Added
decimalSeparator
property to customize the decimal point for certain locale.
0.2.0 #
- Added
wholeDigits
property. E.g.wholeDigits: 4
turns48
into0048
.
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.