SfSliderTheme constructor Null safety

const SfSliderTheme(
  1. {Key? key,
  2. required SfSliderThemeData data,
  3. required Widget child}
)

Applies the given theme data to child.

The data and child arguments must not be null.

Implementation

const SfSliderTheme({Key? key, required this.data, required this.child})
    : super(key: key, child: child);