AutoText constructor

const AutoText(
  1. String data, {
  2. Key? key,
  3. TextStyle? style,
  4. Text? child,
  5. AlignmentGeometry alignment = Alignment.centerLeft,
  6. BoxFit fit = BoxFit.scaleDown,
})

Implementation

const AutoText(
  this.data, {
  Key? key,
  this.style,
  this.child,
  this.alignment = Alignment.centerLeft,
  this.fit = BoxFit.scaleDown,
})  : assert(child == null),
      super(key: key);