copyStatement method
Copy or cut a statement to the clipboard.
Implementation
void copyStatement(Statement statement, {bool cut = false}) {
state = DartBlockEditorState(
copiedStatement: statement.copy(),
isCopiedStatementCut: cut,
);
}
Copy or cut a statement to the clipboard.
void copyStatement(Statement statement, {bool cut = false}) {
state = DartBlockEditorState(
copiedStatement: statement.copy(),
isCopiedStatementCut: cut,
);
}