IconDataProperty constructor Null safety
- String name,
- IconData? value,
- {String? ifNull,
- bool showName = true,
- DiagnosticsTreeStyle style = DiagnosticsTreeStyle.singleLine,
- DiagnosticLevel level = DiagnosticLevel.info}
Create a diagnostics property for IconData.
The showName
, style
, and level
arguments must not be null.
Implementation
IconDataProperty(
String super.name,
super.value, {
super.ifNull,
super.showName,
super.style,
super.level,
}) : assert(showName != null),
assert(style != null),
assert(level != null);