candle_reader 0.1.0
candle_reader: ^0.1.0 copied to clipboard
An interactive candle reading-light widget for Flutter. Spring-follow flame, warm spotlight, pinch-to-resize, pinch-to-extinguish with rising smoke, and tap-to-relight. Works over any child — text, im [...]
0.1.0 #
Initial release.
CandleLightwidget: spring-follow animated flame, warm spotlight with radial falloff, organic flicker, pinch to resize the light pool, pinch hard to blow the flame out with a rising smoke burst, tap to relight.CandleLightControllerfor programmatic control of position, radius, and lit state.- Three interaction modes:
grab,twoFinger(default — single-finger gestures pass through to scrollable children), andcontrolled. - Callbacks:
onExtinguished,onRelit,onPositionChanged,onRadiusChanged. FlamePalettefor flame color — presets (warm,blue,green,red,violet), afromColor(...)factory, or a fully custom instance. The pool glow follows the palette unlesswarmTintis set explicitly.twoFingermode now also accepts long-press-then-drag so a single finger can pick the candle up without waiting for a second finger, while normal single-finger gestures still scroll the child.- Reduced-motion aware via
MediaQuery. - Screen-reader
Semanticswrapper. - Ticker auto-pauses when the candle is at rest and no smoke is in flight.