spec constant

WidgetSpec const spec

Implementation

static const spec = WidgetSpec('switch', hugs: true, props: [
  label, semanticLabel, enabled, controlled, value, autofocus, activeTrackColor, inactiveTrackColor, activeThumbColor, inactiveThumbColor, hoverColor, //
  focusColor, splashRadius, activeTrackOutlineColor, inactiveTrackOutlineColor, trackOutlineWidth, uniformThumb,
  fillTrack, thumbShadows, thumbInset, activeThumbBorderColor, inactiveThumbBorderColor, thumbBorderWidth,
  toggleDurationMs, toggleCurve, trackRadius, thumbRadius, thumbWidth,
], doc: 'Flutter `Switch`.');