Switch constructor

const Switch({
  1. bool value = false,
  2. double width = 28,
  3. double height = 16,
  4. String activeColor = '1B5E20',
})

Switch API.

Implementation

const Switch({
  this.value = false,
  this.width = 28,
  this.height = 16,
  this.activeColor = '1B5E20',
});