LedgerSwitch constructor

const LedgerSwitch({
  1. Key? key,
  2. bool value = false,
  3. bool? enabled,
  4. required String trackLabel,
  5. required ValueChanged<bool> onChanged,
  6. required String semanticsLabel,
  7. Color? activeColor,
  8. Color? inActiveColor,
})

Implementation

const LedgerSwitch({
  super.key,
  this.value = false,
  this.enabled,
  required this.trackLabel,
  required this.onChanged,
  required this.semanticsLabel,
  this.activeColor,
  this.inActiveColor,
});