MdCodeBlock constructor

MdCodeBlock({
  1. required String? infoString,
  2. required List<MdCodeBlockLine> lines,
  3. required CodeBlockType type,
})

Implementation

MdCodeBlock({
  required this.infoString,
  required List<MdCodeBlockLine> lines,
  required this.type,
}) : lines = List.of(lines, growable: false);