LiquidSwitch constructor

LiquidSwitch({
  1. required String labelText,
  2. required bool value,
  3. required dynamic onChanged(
    1. dynamic
    ),
  4. required double fieldWidth,
  5. Color? trackColor,
  6. Color? activeColor,
  7. Key? key,
})

Implementation

LiquidSwitch(
    {required this.labelText,
    required this.value,
    required this.onChanged,
    required this.fieldWidth,
    this.trackColor,
    this.activeColor,
    this.key});