Examples
Skia Basic
Basic SkiaNumberFlow usage inside a Canvas
SkiaNumberFlow renders inside a Skia Canvas and requires a loaded SkFont. Use useSkiaFont for a guaranteed non-null font with system-font fallback.
Key differences from NumberFlow
- Must be wrapped in a Skia
Canvas - Requires a
SkFont(custom font file) instead of system fonts - Positioned with
x,y,widthinstead ofstyleandcontainerStyle - Color is a string prop, not part of
style - Supports
sharedValuefor worklet-driven scrubbing