Add e2ee settings
This commit is contained in:
parent
178e50a564
commit
c6c419f76d
15 changed files with 357 additions and 50 deletions
15
lib/utils/beautify_string_extension.dart
Normal file
15
lib/utils/beautify_string_extension.dart
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
extension BeautifyStringExtension on String {
|
||||
String get beautified {
|
||||
String beautifiedStr = "";
|
||||
for (int i = 0; i < this.length; i++) {
|
||||
beautifiedStr += this.substring(i, i + 1);
|
||||
if (i % 4 == 3) {
|
||||
beautifiedStr += " ";
|
||||
}
|
||||
if (i % 16 == 15) {
|
||||
beautifiedStr += "\n";
|
||||
}
|
||||
}
|
||||
return beautifiedStr;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue