SliderTheme constructor

const SliderTheme({Key key, @required SliderThemeData data, @required Widget child })

Applies the given theme data to child.

The data and child arguments must not be null.

Implementation

const SliderTheme({
  Key key,
  @required this.data,
  @required Widget child,
})  : assert(child != null),
      assert(data != null),
      super(key: key, child: child);