boxConfig property
TextBoxConfig
get
boxConfig
Implementation
TextBoxConfig get boxConfig => _boxConfig;
set
boxConfig
(TextBoxConfig value)
Implementation
set boxConfig(TextBoxConfig value) {
final oldConfig = _boxConfig;
_boxConfig = value;
if (oldConfig.maxWidth != value.maxWidth) {
// This call is necessary to reflow the text for any change in
// TextBoxConfig maxWidth.
updateBounds();
}
redraw();
}