NeumorphicSwitch constructor

const NeumorphicSwitch({
  1. double borderRadius = 0,
  2. EdgeInsets padding = emptyPadding,
  3. EdgeInsets margin = emptyPadding,
  4. ValueChanged<bool>? onChanged,
  5. Key? key,
})

Implementation

const NeumorphicSwitch(
    {this.borderRadius = 0,
    this.padding = emptyPadding,
    this.margin = emptyPadding,
    this.onChanged,
    Key? key})
    : super(key: key);