CachedText constructor

const CachedText(
  1. String text, {
  2. bool offline = false,
  3. Object? error,
})

text, offline when it is the cached copy after a failure (error).

Implementation

const CachedText(this.text, {this.offline = false, this.error});