drawMultiple method
void
drawMultiple(
- Iterable<
AbsoluteConsoleComponent> components, { - bool restoreCursor = true,
- ConsoleCoordinate? cursor,
Implementation
void drawMultiple(
Iterable<AbsoluteConsoleComponent> components, {
bool restoreCursor = true,
ConsoleCoordinate? cursor,
}) {
if (restoreCursor) {
cursor ??= getCursorPosition();
}
for (final component in components) {
component.draw(this);
}
if (restoreCursor) {
moveToCoordinate(cursor!);
}
}