broken_glass 1.0.0
broken_glass: ^1.0.0 copied to clipboard
Break any Flutter widget like a pane of glass — radial fractures, tumbling shards and lit edges.
1.0.0 #
Initial release.
BrokenGlass— snapshots any child and breaks it into shards. Drive it declaratively withbroken, from a touch withbreakOnTap, or imperatively with aBrokenGlassController.ShatterPattern— radial cracks crossed by concentric fracture rings, withfine,chunkyandspiderWebpresets.GlassStyle— cracks, lit bevels, per-facet sheen, tint and shadows, withwindow,screenandfrostpresets.BrokenGlassController—shatter(),restore()andtoggle();restore()plays the break backwards.scatter: falsefor crack-in-place damage, andspread/gravity/rotation/fadeto tune the motion.
