defaultSwitchProperties top-level property

SwitchProperties defaultSwitchProperties

Implementation

SwitchProperties get defaultSwitchProperties => SwitchProperties(
      activeTrackColor: SwitchDefaults.activeTrackColor.toColorRGBA(),
      inactiveTrackColor: SwitchDefaults.inactiveTrackColor.toColorRGBA(),
      activeThumbColor: SwitchDefaults.activeThumbColor.toColorRGBA(),
      inactiveThumbColor: SwitchDefaults.inactiveThumbColor.toColorRGBA(),
      hoverColor: SwitchDefaults.hoverColor.toColorRGBA(),
      focusColor: SwitchDefaults.focusColor.toColorRGBA(),
      splashRadius: SwitchDefaults.splashRadius,
      autofocus: SwitchDefaults.autofocus,
    );