AttributedStringProperty constructor Null safety
- String name,
- AttributedString? value,
- {bool showName = true,
- bool showWhenEmpty = false,
- Object? defaultValue = kNoDefaultValue,
- DiagnosticLevel level = DiagnosticLevel.info,
- 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,
}) : assert(showName != null),
assert(level != null);