helpers/utils library

Functions

calculateConstraints(Size size, BoxSpec spec) BoxConstraints
compareListChanges<T>(List<T> oldList, List<T> newList) → ({List<T> added, List<T> removed})
converYamlToMap(String yamlString) Map<String, dynamic>
prettyJson(dynamic json) String
Formats json
shortHashId(String valueToHash) String
Generates a short, unique identifier from a given string. This is needed as hashCode for strings is not guaranteed to be unique across different platforms