RenderTerminalLibraryFlutter constructor
RenderTerminalLibraryFlutter({
- required TerminalLibraryFlutter terminal,
- required TerminalLibraryFlutterController controller,
- required ViewportOffset offset,
- required EdgeInsets padding,
- required bool autoResize,
- required TerminalLibraryFlutterStyle textStyle,
- required TextScaler textScaler,
- required TerminalLibraryFlutterTheme theme,
- required FocusNode focusNode,
- required TerminalLibraryFlutterCursorType cursorType,
- required bool alwaysShowCursor,
- EditableRectCallback? onEditableRect,
- String? composingText,
UncompleteDocumentation
Implementation
RenderTerminalLibraryFlutter({
required TerminalLibraryFlutter terminal,
required TerminalLibraryFlutterController controller,
required ViewportOffset offset,
required EdgeInsets padding,
required bool autoResize,
required TerminalLibraryFlutterStyle textStyle,
required TextScaler textScaler,
required TerminalLibraryFlutterTheme theme,
required FocusNode focusNode,
required TerminalLibraryFlutterCursorType cursorType,
required bool alwaysShowCursor,
EditableRectCallback? onEditableRect,
String? composingText,
}) : _terminal = terminal,
_controller = controller,
_offset = offset,
_padding = padding,
_autoResize = autoResize,
_focusNode = focusNode,
_cursorType = cursorType,
_alwaysShowCursor = alwaysShowCursor,
_onEditableRect = onEditableRect,
_composingText = composingText,
_painter = TerminalLibraryFlutterPainter(
theme: theme,
textStyle: textStyle,
textScaler: textScaler,
);