unicode_animations 1.0.1
unicode_animations: ^1.0.1 copied to clipboard
Unicode spinner animations (Braille + procedural). Pure Dart.
1.0.1 #
- Added
example/example.dartso the package example is detected by pub.dev (Improve pub.dev score) - Updated demo.gif to better preview available animations.
1.0.0 #
Initial release — pure Dart port of the unicode-animations TypeScript library.
Features #
Spinnerclass withframes(List<String>) andintervalInMs(intms)BrailleSpinnerNameenum for all 18 available spinnersSpinner.of(BrailleSpinnerName)— non-nullable lookup shortcutspinners— pre-computed, unmodifiableMap<BrailleSpinnerName, Spinner>- All 15 procedural generators accept an optional
intervalInMsparameter for custom timing makeGrid/gridToBraillehelpers for building custom Braille animations- Zero dependencies (pure Dart, SDK ^3.3.0)
Spinners included #
3 hardcoded spinners:
braille— classic Braille dot cyclebrailleWave— rolling wave across the dot griddna— double-helix Braille pattern
15 procedural generators:
scan— vertical bar sweeping left-to-rightscanLine— full-row horizontal scanpulse— radial pulse expanding from centerbreathe— smooth breathing rhythmorbit— dot orbiting the perimeterrain— dots falling downwardsnake— winding snake pathhelix— interleaved helix strandscascade— cascading column fillscolumns— independent column animationswaveRows— sine-wave row animationfillSweep— diagonal fill-and-clear sweepdiagSwipe— diagonal wipe transitioncheckerboard— alternating checkerboard patternsparkle— random twinkling dots