Ejemplo n.º 1
0
        public override void updateRenderObject(BuildContext context, RenderObject _renderObject)
        {
            _RenderCheckbox renderObject = _renderObject as _RenderCheckbox;

            renderObject.value                 = this.value;
            renderObject.tristate              = this.tristate;
            renderObject.activeColor           = this.activeColor;
            renderObject.checkColor            = this.checkColor;
            renderObject.inactiveColor         = this.inactiveColor;
            renderObject.onChanged             = this.onChanged;
            renderObject.additionalConstraints = this.additionalConstraints;
            renderObject.vsync                 = this.vsync;
        }
Ejemplo n.º 2
0
        public override void updateRenderObject(BuildContext context, RenderObject _renderObject)
        {
            _RenderCheckbox renderObject = _renderObject as _RenderCheckbox;

            renderObject.value                 = value;
            renderObject.tristate              = tristate;
            renderObject.activeColor           = activeColor;
            renderObject.checkColor            = checkColor;
            renderObject.focusColor            = focusColor;
            renderObject.hoverColor            = hoverColor;
            renderObject.inactiveColor         = inactiveColor;
            renderObject.onChanged             = onChanged;
            renderObject.additionalConstraints = additionalConstraints;
            renderObject.vsync                 = vsync;
            renderObject.hasFocus              = hasFocus ?? false;
            renderObject.hovering              = hovering ?? false;
        }