BlockType constructor
const
BlockType({
- required String name,
- required CreationSectionData sectionData,
- required ProgrammingBlockShape shape,
- 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,
),
});