TextSpan constructor

const TextSpan({
  1. Key? key,
  2. required String text,
  3. bool breakLine = false,
  4. bool newLine = false,
})

Implementation

const TextSpan({
  super.key,
  required this.text,
  this.breakLine = false,
  this.newLine = false,
});