AttributedStringProperty constructor

AttributedStringProperty(
  1. String name,
  2. AttributedString? value,
  3. {bool showName = true,
  4. bool showWhenEmpty = false,
  5. Object? defaultValue = kNoDefaultValue,
  6. DiagnosticLevel level = DiagnosticLevel.info,
  7. String? description}
)

Create a diagnostics property for an AttributedString object.

Such properties are used with SemanticsData objects.

Implementation

AttributedStringProperty(
  String super.name,
  super.value, {
  super.showName,
  this.showWhenEmpty = false,
  super.defaultValue,
  super.level,
  super.description,
});