buildByMaterial method

  1. @override
Widget buildByMaterial(
  1. BuildContext context
)

build on material mode

Implementation

@override
Widget buildByMaterial(BuildContext context) {
  return Slider(
    value: valueOf('value', value),
    onChanged: valueOf('onChanged', onChanged),
    onChangeStart: valueOf('onChangeStart', onChangeStart),
    onChangeEnd: valueOf('onChangeEnd', onChangeEnd),
    min: valueOf('min', min),
    max: valueOf('max', max),
    divisions: valueOf('divisions', divisions),
    label: valueOf('label', label),
    activeColor: valueOf('activeColor', activeColor),
    inactiveColor: valueOf('inactiveColor', inactiveColor),
    mouseCursor: valueOf('mouseCursor', mouseCursor),
    semanticFormatterCallback: valueOf('semanticFormatterCallback', semanticFormatterCallback),
    focusNode: valueOf('focusNode', focusNode),
    autofocus: valueOf('autofocus', autofocus),
  );
}