LitSliderToggleButton constructor

const LitSliderToggleButton({
  1. Key? key,
  2. required Widget enabledTitle,
  3. required Widget disabledTitle,
  4. required void onPressed(),
  5. required bool? enabled,
})

Implementation

const LitSliderToggleButton({
  Key? key,
  required this.enabledTitle,
  required this.disabledTitle,
  required this.onPressed,
  required this.enabled,
}) : super(key: key);