Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelanou committed Jul 1, 2021
1 parent 34ecbfc commit 4289d91
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion example/example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ import 'package:flutter_ameno_ipsum/flutter_ameno_ipsum.dart';
main() {
var text = ameno(paragraphs: 2, words: 60);
print(text);
}
}
38 changes: 19 additions & 19 deletions lib/constants.dart
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
const WORDS = [
"interimo",
"adapare",
"ameno",
"latire",
"latiremo",
"omenare",
"imperavi",
"dimere",
"matiro",
"matiremo",
"emulari",
"dori",
"me",
"dore",
"dom",
"reo",
"mea",
"am"
];
"interimo",
"adapare",
"ameno",
"latire",
"latiremo",
"omenare",
"imperavi",
"dimere",
"matiro",
"matiremo",
"emulari",
"dori",
"me",
"dore",
"dom",
"reo",
"mea",
"am"
];
2 changes: 1 addition & 1 deletion lib/flutter_ameno_ipsum.dart
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@ String _makeWord() {
} while (n > 0 && chosen.length > 5);

return chosen;
}
}
2 changes: 1 addition & 1 deletion test/flutter_ameno_ipsum_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ void main() {

int _countParagraphs(final String input) => input.split("\n\n").length;
int _countWords(final String input) =>
input.replaceAll("\n\n", " ").split(" ").length;
input.replaceAll("\n\n", " ").split(" ").length;

0 comments on commit 4289d91

Please sign in to comment.