Text constructor

const Text({
  1. Locale locale = Locale.en,
  2. int? seed,
})

Provides data related to text.

locale is optional Locale (default is Locale.en).

seed is optional parameter to initialize the internal state of the random generator.

Implementation

const Text({this.locale = Locale.en, this.seed});