BlockType constructor

const BlockType({
  1. required String name,
  2. required CreationSectionData sectionData,
  3. required ProgrammingBlockShape shape,
  4. PuzzlePieceData puzzlePieceData = const PuzzlePieceData(sides: 3, topPadding: 5.0, size: 16),
})

Implementation

const BlockType({
  required this.name,
  required this.sectionData,
  required this.shape,
  this.puzzlePieceData = const PuzzlePieceData(
    sides: 3,
    topPadding: 5.0,
    size: 16,
  ),
});