EmergentText constructor

const EmergentText(
  1. String text, {
  2. Key? key,
  3. Duration duration = Emergent.defaultDuration,
  4. Curve curve = Emergent.defaultCurve,
  5. EmergentStyle? style,
  6. TextAlign textAlign = TextAlign.center,
  7. EmergentTextStyle? textStyle,
})

Implementation

const EmergentText(
  this.text, {
  Key? key,
  this.duration = Emergent.defaultDuration,
  this.curve = Emergent.defaultCurve,
  this.style,
  this.textAlign = TextAlign.center,
  this.textStyle,
}) : super(key: key);