configure method
void
configure({})
Applies viewport configuration values.
Implementation
void configure({
int? width,
int? height,
int? gutter,
bool? softWrap,
bool? fillHeight,
bool? showLineNumbers,
bool? mouseWheelEnabled,
int? mouseWheelDelta,
int? horizontalStep,
ViewportKeyMap? keyMap,
Style? style,
}) {
_model = _model.copyWith(
width: width,
height: height,
gutter: gutter,
softWrap: softWrap,
fillHeight: fillHeight,
showLineNumbers: showLineNumbers,
mouseWheelEnabled: mouseWheelEnabled,
mouseWheelDelta: mouseWheelDelta,
horizontalStep: horizontalStep,
keyMap: keyMap,
style: style,
);
}