SwitchComponent constructor

const SwitchComponent({
  1. bool initialValue = false,
  2. void onChanged(
    1. bool
    )?,
  3. Color color = Colors.blue,
  4. IconData? checkedIconData,
  5. IconData? uncheckedIconData,
  6. Key? key,
})

Implementation

const SwitchComponent(
    {this.initialValue = false,
    this.onChanged,
    this.color = Colors.blue,
    this.checkedIconData,
    this.uncheckedIconData,
    Key? key})
    : super(key: key);