Inheritance
System.Object
RenderToggleable
public abstract class RenderToggleable : RenderConstrainedBox, HitTestTarget, RenderObjectWithChildMixin<RenderBox>, RenderObjectWithChildMixin
Constructors
Declaration
protected RenderToggleable(bool? value = default(bool? ), bool tristate = false, Color activeColor = null, Color inactiveColor = null, ValueChanged<bool? > onChanged = null, BoxConstraints additionalConstraints = null, TickerProvider vsync = null)
Parameters
Properties
Declaration
public Color activeColor { get; set; }
Property Value
Declaration
public Color inactiveColor { get; set; }
Property Value
Declaration
public bool isInteractive { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public ValueChanged<bool? > onChanged { get; set; }
Property Value
Type |
Description |
ValueChanged<System.Nullable<System.Boolean>> |
|
Declaration
public CurvedAnimation position { get; }
Property Value
Declaration
protected AnimationController positionController { get; }
Property Value
Declaration
protected AnimationController reactionController { get; }
Property Value
Declaration
public bool tristate { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual bool? value { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public TickerProvider vsync { get; set; }
Property Value
Methods
Declaration
public override void attach(object owner)
Parameters
Type |
Name |
Description |
System.Object |
owner |
|
Overrides
Unity.UIWidgets.rendering.RenderObjectWithChildMixinRenderBox<Unity.UIWidgets.rendering.RenderBox>.attach(System.Object)
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
Declaration
public override void detach()
Overrides
Unity.UIWidgets.rendering.RenderObjectWithChildMixinRenderBox<Unity.UIWidgets.rendering.RenderBox>.detach()
handleEvent(PointerEvent, HitTestEntry)
Declaration
public override void handleEvent(PointerEvent pEvent, HitTestEntry entry)
Parameters
Overrides
Declaration
protected override bool hitTestSelf(Offset position)
Parameters
Type |
Name |
Description |
Offset |
position |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public void paintRadialReaction(Canvas canvas, Offset offset, Offset origin)
Parameters