utils library

Functions

joinSigns({required List<String> fsws, int spacing = 0}) String
Joins signs vertically. Kept for backwards compatibility.
joinSignsHorizontal(List<String> fsws, {int spacing = 0}) String
Arranges signs horizontally (left to right), with optional spacing between them.
joinSignsVertical(List<String> fsws, {int spacing = 0}) String
Stacks signs vertically (top to bottom), with optional spacing between them.
signFromSymbols(List<SignSymbol> symbols, {bool fixX = true, bool fixY = true}) Sign
Builds a Sign from a list of symbols, computing a tight box centered on (500, 500) from the symbols' rendered sizes and repositioning the symbols into that reference frame.