utils/spoiler_path_builder library

Classes

SpoilerGeometry
Bundles the path and rects that describe a spoiler selection.

Functions

buildSpoilerGeometry({required TextLayoutClient layout, required String text, required TextSelection selection, bool skipWhitespace = true}) SpoilerGeometry?
Builds spoiler geometry (path + signature) for a given selection.