RASegmentedSwitchItem constructor

RASegmentedSwitchItem({
  1. required String label,
  2. IconData? leftIcon,
  3. IconData? rightIcon,
})

Call the segmented switch item.

Implementation

RASegmentedSwitchItem({
  required this.label,
  this.leftIcon,
  this.rightIcon,
}) : icon = null;