TF-3236 Widget test RichTextBuilder

This commit is contained in:
DatDang
2024-11-06 15:09:29 +07:00
committed by Dat H. Pham
parent 176fe120dd
commit ed2c0b1f6d
2 changed files with 284 additions and 0 deletions
@@ -16,4 +16,8 @@ extension ListExtensions<T> on List<T> {
validBuilder.build().toList(),
validBuilder.build().toList());
}
int countOccurrences(T value) {
return where((element) => element == value).length;
}
}