ToggleButtonProps constructor

const ToggleButtonProps({
  1. required bool value,
  2. void onChanged(
    1. bool value
    )?,
  3. ArcaneInteraction? onChangeAction,
  4. String? label,
  5. Widget? icon,
  6. CycleButtonSize size = CycleButtonSize.medium,
  7. bool disabled = false,
  8. String? id,
  9. Map<String, String>? attributes,
})

Implementation

const ToggleButtonProps({
  required this.value,
  this.onChanged,
  this.onChangeAction,
  this.label,
  this.icon,
  this.size = CycleButtonSize.medium,
  this.disabled = false,
  this.id,
  this.attributes,
});