DNToggleButton constructor
const
DNToggleButton({})
레이블, 초기 선택값과 선택 변경 콜백을 설정한다.
Implementation
const DNToggleButton({
this.selectedIndex = 0,
super.key,
this.activeColor,
required this.labels,
this.onChanged,
this.height = 48.0,
this.fontSize = 16.0,
this.fontWeight = FontWeight.normal,
});