lipsum 1.0.0+1

  • Example
  • Installing
  • Versions
  • new50

lipsum-dart #

Build Status Pub

A lorem ipsum text generator for Dart.

1.0.0+1 #

  • Correction of test script and other minor cleanups.

1.0.0 #

  • Initial version, derived from lorem-dart plugin.


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);

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  lipsum: ^1.0.0+1

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:lipsum/lipsum.dart';
Version Uploaded Documentation Archive
1.0.0+1 Mar 11, 2019 Go to the documentation of lipsum 1.0.0+1 Download lipsum 1.0.0+1 archive
1.0.0 Mar 11, 2019 Go to the documentation of lipsum 1.0.0 Download lipsum 1.0.0 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Mar 11, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14


Detected platforms: Flutter, web, other

No platform restriction found in primary library package:lipsum/lipsum.dart.

Health suggestions

Format lib/src/lipsum.dart.

Run dartfmt to format lib/src/lipsum.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
Dev dependencies
test any