5 Best Flutter Packages to Generate Lorem Ipsum and Placeholder

Lorem Ipsum is simply dummy text used in many programming applications, while placeholder is shown before rendering a widget in order to keep space. Following are the best Flutter packages which can generate lorem ispum text and set placeholder.

Lorem Ispum Packages


Faker is a popular fake data generator plugin which has many implementations in different language. This is a Dart port.

var faker = new Faker();


This is a lorem ipsum text generator which is based off of Andres Araujo’s lorem-dart plugin.

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

Placeholder Packages


shimmer offers an easy way to add shimmer effect to a Flutter widget.

  width: 200.0,
  height: 100.0,
  child: Shimmer.fromColors(
    baseColor: Colors.red,
    highlightColor: Colors.yellow,
    child: Text(
      textAlign: TextAlign.center,
      style: TextStyle(
        fontSize: 40.0,


This package can create placeholder lines that emulates text in a widget. It is useful to display remote data widgets, while waiting for them to complete loading.

        count: 3,
        animate: true,
        color: Colors.grey,


This shows a compact representation of a placeholder for an image. The image is encoded into a blurry image under 30 characters for instant display.

class BlurHashApp extends StatelessWidget {
  const BlurHashApp({Key key}) : super(key: key);

  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: Text("BlurHash")),
        body: SizedBox.expand(
          child: Center(
            child: AspectRatio(
              aspectRatio: 1.6,
              child: BlurHash(hash: "D5H2DC-PM+pV12g-m.wH2c712POv"),

Leave a Comment

Your email address will not be published.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.