ZdsToggleButton constructor

const ZdsToggleButton(
  1. {required List<String> values,
  2. required ValueChanged<int> onToggleCallback,
  3. Key? key,
  4. Color? backgroundColor,
  5. int initialValue = 0,
  6. EdgeInsets margin = const EdgeInsets.all(kBigTogglePadding),
  7. Color? foregroundColor}
)

Constructs a ZdsToggleButton.

Implementation

const ZdsToggleButton