From 4289d9165fa7edf04244b4f578559e40b6932a6b Mon Sep 17 00:00:00 2001 From: ndelanou Date: Thu, 1 Jul 2021 16:13:19 +0200 Subject: [PATCH] Format code --- example/example.dart | 2 +- lib/constants.dart | 38 +++++++++++++++--------------- lib/flutter_ameno_ipsum.dart | 2 +- test/flutter_ameno_ipsum_test.dart | 2 +- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/example/example.dart b/example/example.dart index 73216bb..6aaef78 100644 --- a/example/example.dart +++ b/example/example.dart @@ -3,4 +3,4 @@ import 'package:flutter_ameno_ipsum/flutter_ameno_ipsum.dart'; main() { var text = ameno(paragraphs: 2, words: 60); print(text); -} \ No newline at end of file +} diff --git a/lib/constants.dart b/lib/constants.dart index 0c1f7ad..8fc3bdb 100644 --- a/lib/constants.dart +++ b/lib/constants.dart @@ -1,20 +1,20 @@ const WORDS = [ - "interimo", - "adapare", - "ameno", - "latire", - "latiremo", - "omenare", - "imperavi", - "dimere", - "matiro", - "matiremo", - "emulari", - "dori", - "me", - "dore", - "dom", - "reo", - "mea", - "am" -]; \ No newline at end of file + "interimo", + "adapare", + "ameno", + "latire", + "latiremo", + "omenare", + "imperavi", + "dimere", + "matiro", + "matiremo", + "emulari", + "dori", + "me", + "dore", + "dom", + "reo", + "mea", + "am" +]; diff --git a/lib/flutter_ameno_ipsum.dart b/lib/flutter_ameno_ipsum.dart index 4104927..8f8771c 100644 --- a/lib/flutter_ameno_ipsum.dart +++ b/lib/flutter_ameno_ipsum.dart @@ -125,4 +125,4 @@ String _makeWord() { } while (n > 0 && chosen.length > 5); return chosen; -} \ No newline at end of file +} diff --git a/test/flutter_ameno_ipsum_test.dart b/test/flutter_ameno_ipsum_test.dart index c73b6d4..20f303d 100644 --- a/test/flutter_ameno_ipsum_test.dart +++ b/test/flutter_ameno_ipsum_test.dart @@ -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; \ No newline at end of file + input.replaceAll("\n\n", " ").split(" ").length;