Last updated:
0 purchases
lorem ipsum
lorem_ipsum #
Lorem Ipsum, it is a package to generate random text easily, quickly and dynamically.
Installation #
You just need to add lorem_ipsum as a dependency in your pubspec.yaml file.
dependencies:
lorem_ipsum: any
copied to clipboard
Usage #
Import the package:
import 'package:lorem_ipsum/lorem_ipsum.dart';
copied to clipboard
Call the lorem_ipsum function.
/**
* Default values
* @param int paragraphs {1}
* @param int words {100}
* @param bool initWithLorem {false}
*/
String text = loremIpsum(words: 60);
print(text);
copied to clipboard
Mihi duco adfero, puer pasco homo aduro missa. Tametsi esse pia illa, renuo uter. Premo picea. Loci letum demum abbas ceterum puteus suus metuo. Suus autus abeo queso > putus faenum. Corrigo lenio. Illa quris aurum sequi utrum taceo, pyropus quantum. Frequentatio immineo lacrima opportunitatus. Cum spes, fas vado ruris pudeo relictus > promulgatio scivi. Mane, senis illi sicut sano fleo formica.
String text = loremIpsum(words: 60, paragraphs: 3, initWithLorem: true);
print(text);
copied to clipboard
Lorem ipsum, aurum haec dimitto. Consurgo cibo duo crux damno caput eximietate passim pello. He malus longe. Civis detineo sic.
Cui archa obruo. Quae ratum reus ita, doleo rei. Horum minus, maior legis magis, placitum veni. Fors, approbo frux latus.
Consisto, facio proficio tibi illas. Pono siligo purgatio infitialis. Multus virgo depulso permissi mos adeo vera. Quies leviculus esse vere.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.