createImage method
Implementation
@override
NativeTerminalImage createImage({
required Size size,
String? filePath,
Color? backgroundColor,
}) {
if (filePath != null) {
return NativeTerminalImage.fromPath(
size: size,
path: filePath,
backgroundColor: backgroundColor,
);
}
return NativeTerminalImage.filled(size, backgroundColor);
}