NeumorphicSwitch constructor
const
NeumorphicSwitch({
- double borderRadius = 0,
- EdgeInsets padding = emptyPadding,
- EdgeInsets margin = emptyPadding,
- ValueChanged<
bool> ? onChanged, - Key? key,
Implementation
const NeumorphicSwitch(
{this.borderRadius = 0,
this.padding = emptyPadding,
this.margin = emptyPadding,
this.onChanged,
Key? key})
: super(key: key);