Text constructor

Text(
  1. Object? content, {
  2. TextStyleToken? style,
  3. ColorToken? color,
  4. int? maxLines,
  5. TextAlign? textAlign,
  6. TextOverflow? overflow,
  7. String? name,
  8. Object? visible,
})

Implementation

Text(
  Object? content, {
  this.style,
  this.color,
  this.maxLines,
  this.textAlign,
  this.overflow,
  String? name,
  Object? visible,
}) : content = normalizeExpression(content),
     super(name: name, visible: _normalizeVisibility(visible));