lipsum 1.0.0+1 copy "lipsum: ^1.0.0+1" to clipboard
lipsum: ^1.0.0+1 copied to clipboard

outdated

A simple lorem ipsum text generator. Based off of Andres Araujo's lorem-dart plugin.

example/example.dart

import 'package:lipsum/lipsum.dart' as lipsum;

main() {
  print("Generating random words: " + lipsum.createWord(numWords: 4));

  var sentence = lipsum.createSentence();

  print("\nGenerating a random sentence:\n\n" + sentence);

  var paragraph = lipsum.createParagraph();

  print("\nGenerating a random paragraph:\n\n" + paragraph);

  var text = lipsum.createText(numParagraphs: 3, numSentences: 5);

  print("\nGenerating a random text:\n\n" + text);
}
17
likes
40
pub points
77%
popularity

Publisher

verified publisheradaptant.io

A simple lorem ipsum text generator. Based off of Andres Araujo's lorem-dart plugin.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on lipsum