Size getPreferredSize(bool isEnabled) { return Size.fromRadius(isEnabled == true ? enabledThumbRadius : _disabledThumbRadius); }