budget property
int?
get
budget
The lines a LineClamp round the block leaves this paragraph, where one has counted its line boxes; null where none has, and the widget's own clamp holds. The clamp sets it from its layout.
Implementation
int? get budget => _budget;
set
budget
(int? v)
Implementation
set budget(int? v) {
if (v == _budget) return;
_budget = v;
if (_source != null) _apply();
// The cut is made again; the one the paragraph shows stays OURS until
// then, or the next read would take it for the widget's text.
_madeFor = null;
markNeedsLayout();
}