getPreferredSize method

Size getPreferredSize(
  1. SfSliderThemeData themeData
)

Returns the size based on the values passed to it.

Implementation

Size getPreferredSize(SfSliderThemeData themeData) {
  return Size.fromRadius(themeData.overlayRadius);
}