Перейти к основному содержимому

SwitchAttributes

SwitchAttributes represents attributes for Switch widget.

Flutter widget: https://api.flutter.dev/flutter/material/Switch-class.html

Methods​

  • func (*SwitchAttributes) SetActiveColor(activeColor *duit_props.Color) (*SwitchAttributes)
  • func (*SwitchAttributes) SetActiveTrackColor(activeTrackColor *duit_props.Color) (*SwitchAttributes)
  • func (*SwitchAttributes) SetAutofocus(autofocus bool) (*SwitchAttributes)
  • func (*SwitchAttributes) SetFocusColor(focusColor *duit_props.Color) (*SwitchAttributes)
  • func (*SwitchAttributes) SetHoverColor(hoverColor *duit_props.Color) (*SwitchAttributes)
  • func (*SwitchAttributes) SetInactiveTrackColor(inactiveTrackColor *duit_props.Color) (*SwitchAttributes)
  • func (*SwitchAttributes) SetMaterialTapTargetSize(materialTapTargetSize duit_props.MaterialTapTargetSize) (*SwitchAttributes)
  • func (*SwitchAttributes) SetOverlayColor(overlayColor *duit_props.WidgetStateColor) (*SwitchAttributes)
  • func (*SwitchAttributes) SetSplashRadius(splashRadius float32) (*SwitchAttributes)
  • func (*SwitchAttributes) SetThumbColor(thumbColor *duit_props.WidgetStateColor) (*SwitchAttributes)
  • func (*SwitchAttributes) SetTrackColor(trackColor *duit_props.WidgetStateColor) (*SwitchAttributes)
  • func (*SwitchAttributes) SetTrackOutlineColor(trackOutlineColor *duit_props.WidgetStateColor) (*SwitchAttributes)
  • func (*SwitchAttributes) SetTrackOutlineWidth(trackOutlineWidth *duit_props.WidgetStateFloat32) (*SwitchAttributes)
  • func (*SwitchAttributes) SetValue(value bool) (*SwitchAttributes)
  • func (*SwitchAttributes) Validate() (error)