ToggleFilter constructor

const ToggleFilter({
  1. Key? key,
  2. required ValueChanged<bool> onChange,
  3. String? activeText,
  4. String? notActiveText,
  5. bool value = false,
  6. InputDecoration decoration = const _DefaultInputDecoration(null),
})

Implementation

const ToggleFilter({
  Key? key,
  required this.onChange,
  this.activeText,
  this.notActiveText,
  this.value = false,
  this.decoration = const _DefaultInputDecoration(null),
}) : super(key: key);