StatementWidget constructor
const
StatementWidget({
- Key? key,
- required Statement statement,
- required dynamic onChanged(),
- required bool canDelete,
- required bool canChange,
- required bool canReorder,
- bool canDuplicate = true,
- required dynamic onDelete(),
- required dynamic onDuplicate(
- Statement statementToDuplicate
- required dynamic onAppendNewStatement(
- Statement newStatement
- required dynamic onCopyStatement(),
- required dynamic onCopiedStatement(),
- required dynamic onPasteStatement(
- Statement statementToPaste
- required dynamic onPastedStatement(),
- bool includeBottomPadding = true,
- bool showLabel = true,
- required List<
DartBlockFunction> customFunctions,
Implementation
const StatementWidget({
super.key,
required this.statement,
required this.onChanged,
required this.canDelete,
required this.canChange,
required this.canReorder,
this.canDuplicate = true,
required this.onDelete,
required this.onDuplicate,
required this.onAppendNewStatement,
required this.onCopyStatement,
required this.onCopiedStatement,
required this.onPasteStatement,
required this.onPastedStatement,
this.includeBottomPadding = true,
this.showLabel = true,
required this.customFunctions,
});