Returns the preferred size of the shape, based on the given conditions.
@override Size getPreferredSize(bool isEnabled, bool isDiscrete) { return Size.fromRadius(overlayRadius); }