SwitchAppearance constructor

SwitchAppearance({
  1. Size trackSize = _appSwitchDefaultTrackSize,
  2. Widget thumbBuilder(
    1. BuildContext ctx,
    2. double anim
    )?,
  3. Widget trackBuilder(
    1. BuildContext ctx,
    2. double anim
    )?,
})

Implementation

SwitchAppearance({
  this.trackSize = _appSwitchDefaultTrackSize,
  this.thumbBuilder,
  this.trackBuilder,
});