Example #1
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <MediaQueryData>("data", this.data, showName: false));
 }
Example #2
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <bool>("ignoring", ignoring));
 }
Example #3
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <EdgeInsets>("padding", this.padding));
 }
Example #4
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder description)
 {
     base.debugFillProperties(description);
     description.add(new FloatProperty("maxHeight", this.maxHeight));
     description.add(new FloatProperty("scrollFactor", this.scrollFactor));
 }
Example #5
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DoubleProperty("widthFactor", this._widthFactor, ifNull: "expand"));
     properties.add(new DoubleProperty("heightFactor", this._heightFactor, ifNull: "expand"));
 }
Example #6
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new FlagProperty("value", value: value, ifTrue: "on", ifFalse: "off", showName: true));
     properties.add(new ObjectFlagProperty <ValueChanged <bool> >("onChanged", onChanged, ifNull: "disabled"));
 }
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new EnumProperty <DragStartBehavior>("startBehavior", this.dragStartBehavior));
 }
Example #8
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     data.debugFillProperties(properties);
 }
Example #9
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <EdgeInsets>("padding", this.padding, defaultValue: null));
     properties.add(new DiagnosticsProperty <Decoration>("bg", this.decoration, defaultValue: null));
 }
Example #10
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <bool>("keepAlive", this.keepAlive));
 }
Example #11
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <Animation <float> >("opacity", opacity));
     properties.add(new FlagProperty("alwaysIncludeSemantics", value: alwaysIncludeSemantics, ifTrue: "alwaysIncludeSemantics"));
 }
Example #12
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <SliverChildDelegate>("del", this.del));
 }
Example #13
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <object>("debugOwner", this.debugOwner,
                                                     defaultValue: Diagnostics.kNullDefaultValue));
 }
 public override void debugFillProperties(DiagnosticPropertiesBuilder description)
 {
     base.debugFillProperties(description);
     description.add(new DiagnosticsProperty <SliverPersistentHeaderDelegate>("del", this.del));
 }
Example #15
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new IntProperty("alpha", this.alpha));
     properties.add(new DiagnosticsProperty <Offset>("offset", this.offset));
 }
Example #16
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <Animation <double> >("opacity", this.opacity));
 }
Example #17
0
        public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
        {
            base.debugFillProperties(properties);

            List <DiagnosticsNode> styles = new List <DiagnosticsNode>();

            styles.Add(new DiagnosticsProperty <Color>("color", this.color,
                                                       defaultValue: Diagnostics.kNullDefaultValue));
            styles.Add(new DiagnosticsProperty <Color>("backgroundColor", this.backgroundColor,
                                                       defaultValue: Diagnostics.kNullDefaultValue));
            styles.Add(new StringProperty("family", this.fontFamily, defaultValue: Diagnostics.kNullDefaultValue,
                                          quoted: false));
            styles.Add(new EnumerableProperty <string>("familyFallback", this.fontFamilyFallback,
                                                       defaultValue: Diagnostics.kNullDefaultValue));
            styles.Add(new DiagnosticsProperty <float?>("size", this.fontSize,
                                                        defaultValue: Diagnostics.kNullDefaultValue));
            string weightDescription = "";

            if (this.fontWeight != null)
            {
                weightDescription = this.fontWeight.weightValue.ToString();
            }

            styles.Add(new DiagnosticsProperty <FontWeight>(
                           "weight", this.fontWeight,
                           description: weightDescription,
                           defaultValue: Diagnostics.kNullDefaultValue
                           ));
            styles.Add(new EnumProperty <FontStyle?>("style", this.fontStyle,
                                                     defaultValue: Diagnostics.kNullDefaultValue));
            styles.Add(new DiagnosticsProperty <float?>("letterSpacing", this.letterSpacing,
                                                        defaultValue: Diagnostics.kNullDefaultValue));
            styles.Add(new DiagnosticsProperty <float?>("wordSpacing", this.wordSpacing,
                                                        defaultValue: Diagnostics.kNullDefaultValue));
            styles.Add(new EnumProperty <TextBaseline?>("baseline", this.textBaseline,
                                                        defaultValue: Diagnostics.kNullDefaultValue));
            styles.Add(new DiagnosticsProperty <float?>("height", this.height,
                                                        defaultValue: Diagnostics.kNullDefaultValue));
            styles.Add(new StringProperty("foreground", this.foreground == null ? null : this.foreground.ToString(),
                                          defaultValue: Diagnostics.kNullDefaultValue, quoted: false));
            styles.Add(new StringProperty("background", this.background == null ? null : this.background.ToString(),
                                          defaultValue: Diagnostics.kNullDefaultValue, quoted: false));
            if (this.decoration != null)
            {
                List <string> decorationDescription = new List <string>();
                if (this.decorationStyle != null)
                {
                    decorationDescription.Add(this.decorationStyle.ToString());
                }

                styles.Add(new DiagnosticsProperty <Color>("decorationColor", this.decorationColor,
                                                           defaultValue: Diagnostics.kNullDefaultValue,
                                                           level: DiagnosticLevel.fine));
                if (this.decorationColor != null)
                {
                    decorationDescription.Add(this.decorationColor.ToString());
                }

                styles.Add(new DiagnosticsProperty <TextDecoration>("decoration", this.decoration,
                                                                    defaultValue: Diagnostics.kNullDefaultValue,
                                                                    level: DiagnosticLevel.hidden));
                if (this.decoration != null)
                {
                    decorationDescription.Add("$decoration");
                }

                D.assert(decorationDescription.isNotEmpty);
                styles.Add(new MessageProperty("decoration", string.Join(" ", decorationDescription.ToArray())));
                styles.Add(new FloatProperty("decorationThickness", this.decorationThickness, unit: "x",
                                             defaultValue: Diagnostics.kNoDefaultValue));
            }

            bool styleSpecified = styles.Any((DiagnosticsNode n) => !n.isFiltered(DiagnosticLevel.info));

            properties.add(new DiagnosticsProperty <bool>("inherit", this.inherit,
                                                          level: (!styleSpecified && this.inherit) ? DiagnosticLevel.fine : DiagnosticLevel.info));
            foreach (var style in styles)
            {
                properties.add(style);
            }

            if (!styleSpecified)
            {
                properties.add(new FlagProperty("inherit", value: this.inherit, ifTrue: "<all styles inherited>",
                                                ifFalse: "<no style specified>"));
            }
        }
Example #18
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <Listenable>("animation", this.listenable));
 }
Example #19
0
 public virtual void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
 }
Example #20
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <Offset>("offset", this.offset));
     properties.add(new DiagnosticsProperty <LayerLink>("link", this.link));
 }
Example #21
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <PageTransitionsBuilder>("builder", this.builder,
                                                                     defaultValue: _defaultBuilder));
 }
Example #22
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new FloatProperty("elevation", this.elevation));
     properties.add(new DiagnosticsProperty <Color>("color", this.color));
 }
Example #23
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <Alignment>("alignment", this.alignment));
 }
Example #24
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <Rect>("paint bounds", this.canvasBounds));
 }
Example #25
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new FloatProperty("opacity", opacity));
 }
Example #26
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <RRect>("clipRRect", this.clipRRect));
 }
Example #27
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <bool>("offstage", offstage));
 }
Example #28
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new DiagnosticsProperty <Matrix3>("transform", this.transform));
 }
Example #29
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new EnumProperty <CupertinoUserInterfaceLevelData>("user interface level", _data));
 }
Example #30
0
 public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
 {
     base.debugFillProperties(properties);
     properties.add(new EnumProperty <Axis>("mainAxis", this.mainAxis));
     properties.add(new FloatProperty("elevation", this.elevation));
 }