Toggle

Overview

A toggle is used to quickly switch between two possible states. They are commonly used for “on/off” switches.

Widget API

Example

CToggle(
  onToggle: (v) {},
  value: true,
  labelText: 'Label text',
  showStatusLabel: true,
  size: CToggleSize.sm,
)

Last updated