@@ -316,6 +316,7 @@ class SemanticsData with Diagnosticable {
...
@@ -316,6 +316,7 @@ class SemanticsData with Diagnosticable {
requiredthis.attributedIncreasedValue,
requiredthis.attributedIncreasedValue,
requiredthis.attributedDecreasedValue,
requiredthis.attributedDecreasedValue,
requiredthis.attributedHint,
requiredthis.attributedHint,
requiredthis.tooltip,
requiredthis.textDirection,
requiredthis.textDirection,
requiredthis.rect,
requiredthis.rect,
requiredthis.elevation,
requiredthis.elevation,
...
@@ -339,6 +340,7 @@ class SemanticsData with Diagnosticable {
...
@@ -339,6 +340,7 @@ class SemanticsData with Diagnosticable {
assert(attributedDecreasedValue!=null),
assert(attributedDecreasedValue!=null),
assert(attributedIncreasedValue!=null),
assert(attributedIncreasedValue!=null),
assert(attributedHint!=null),
assert(attributedHint!=null),
assert(tooltip==''||textDirection!=null,'A SemanticsData object with tooltip "$tooltip" had a null textDirection.'),
assert(attributedLabel.string==''||textDirection!=null,'A SemanticsData object with label "${attributedLabel.string}" had a null textDirection.'),
assert(attributedLabel.string==''||textDirection!=null,'A SemanticsData object with label "${attributedLabel.string}" had a null textDirection.'),
assert(attributedValue.string==''||textDirection!=null,'A SemanticsData object with value "${attributedValue.string}" had a null textDirection.'),
assert(attributedValue.string==''||textDirection!=null,'A SemanticsData object with value "${attributedValue.string}" had a null textDirection.'),
assert(attributedDecreasedValue.string==''||textDirection!=null,'A SemanticsData object with decreasedValue "${attributedDecreasedValue.string}" had a null textDirection.'),
assert(attributedDecreasedValue.string==''||textDirection!=null,'A SemanticsData object with decreasedValue "${attributedDecreasedValue.string}" had a null textDirection.'),
...
@@ -429,6 +431,11 @@ class SemanticsData with Diagnosticable {
...
@@ -429,6 +431,11 @@ class SemanticsData with Diagnosticable {
/// See also [hint], which exposes just the raw text.
/// See also [hint], which exposes just the raw text.
finalAttributedStringattributedHint;
finalAttributedStringattributedHint;
/// A textual description of the widget's tooltip.
///
/// The reading direction is given by [textDirection].
finalStringtooltip;
/// The reading direction for the text in [label], [value],
/// The reading direction for the text in [label], [value],
/// [increasedValue], [decreasedValue], and [hint].
/// [increasedValue], [decreasedValue], and [hint].
finalTextDirection?textDirection;
finalTextDirection?textDirection;
...
@@ -587,6 +594,7 @@ class SemanticsData with Diagnosticable {
...
@@ -587,6 +594,7 @@ class SemanticsData with Diagnosticable {