Syllable constructor

const Syllable({
  1. required String text,
  2. SyllableType type = SyllableType.single,
  3. bool italic = false,
})

Implementation

const Syllable({
  required this.text,
  this.type = SyllableType.single,
  this.italic = false,
});