public static DiagnosticsProperty <Color> createCupertinoColorProperty( string name, Color value, bool showName = true, object defaultValue = null, DiagnosticsTreeStyle style = DiagnosticsTreeStyle.singleLine, DiagnosticLevel level = DiagnosticLevel.info ) { if (value is CupertinoDynamicColor) { return(new DiagnosticsProperty <Color>( name: name, value: value, description: ((CupertinoDynamicColor)value)._debugLabel, showName: showName, defaultValue: defaultValue, style: style, level: level )); } else { return(new ColorProperty( name, value, showName: showName, defaultValue: defaultValue, style: style, level: level )); } }
public virtual DiagnosticsNode toDiagnosticsNode( string name = null, DiagnosticsTreeStyle style = DiagnosticsTreeStyle.sparse) { return(new DiagnosticableNode <DiagnosticableMixinChangeNotifier>( name: name, value: this, style: style )); }
public override DiagnosticsNode toDiagnosticsNode(string name = null, DiagnosticsTreeStyle style = DiagnosticsTreeStyle.sparse) { return(new _UIWIdgetsErrorDetailsNode( name: name, value: this, style: style )); }
public virtual DiagnosticsNode toDiagnosticsNode( string name = null, DiagnosticsTreeStyle style = DiagnosticsTreeStyle.sparse) { return(new DiagnosticableTreeNode( name: name, value: this, style: style )); }
public _UIWIdgetsErrorDetailsNode( string name, UIWidgetsErrorDetails value, DiagnosticsTreeStyle style ) : base( name: name, value: value, style: style ) { D.assert(value != null); }
internal _ErrorDiagnostic( List <object> messageParts, DiagnosticsTreeStyle style = DiagnosticsTreeStyle.flat, DiagnosticLevel level = DiagnosticLevel.info ) : base( name: null, value: messageParts, showName: false, showSeparator: false, defaultValue: null, style: style, level: level) { D.assert(messageParts != null); }
public ColorProperty( string name = "", Color value = null, bool showName = true, object defaultValue = null, DiagnosticsTreeStyle style = DiagnosticsTreeStyle.singleLine, DiagnosticLevel level = DiagnosticLevel.info ) : base(name, value, defaultValue: defaultValue, showName: showName, style: style, level: level ) { }
public IconDataProperty( string name, IconData value, string ifNull = null, bool showName = true, DiagnosticsTreeStyle style = DiagnosticsTreeStyle.singleLine, DiagnosticLevel level = DiagnosticLevel.info ) : base(name, value, showName: showName, ifNull: ifNull, style: style, level: level ) { }
DiagnosticsTreeStyle getStyleMember(string memberName, DiagnosticsTreeStyle defaultValue) { return(this.getEnumMember(memberName, defaultValue)); }