feature: Details screen rework (#190)

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
PartyDonut 2024-12-27 15:21:47 +01:00 committed by GitHub
parent 473e817e0f
commit d2138da785
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 462 additions and 394 deletions

View file

@ -14,6 +14,7 @@ extension StringExtensions on String {
}
String maxLength({int limitTo = 75}) {
if (isEmpty) return this;
if (length > limitTo) {
return "${substring(0, limitTo.clamp(0, length))}...";
} else {