ToggleCard constructor

const ToggleCard({
  1. required String title,
  2. required bool isActive,
  3. required ValueChanged<bool> onChanged,
  4. String? subtitle,
  5. Key? key,
})

Implementation

const ToggleCard({
  required this.title,
  required this.isActive,
  required this.onChanged,
  this.subtitle,
  super.key,
});