RadioGroup constructor
const
RadioGroup({
- Key? key,
- required List<
RadioEntry> items, - RadioArrange orientation = RadioArrange.horizontal,
- IconData checkIcon = Icons.radio_button_on,
- IconData uncheckIcon = Icons.radio_button_off,
- Color selectIconColor = const Color(0xffEEEBD7),
- Color unSelectIconColor = const Color(0xffEEEBD7),
- double iconSize = 20,
- Color textColor = const Color(0xff333333),
- double textSize = 12,
- EdgeInsetsGeometry textPadding = const EdgeInsets.only(left: 6),
- EdgeInsetsGeometry itemPadding = EdgeInsets.zero,
- OnRadioChangeCall? changeCall,
- AlignStyle style = AlignStyle.wrap,
- double? width,
- String? tag,
- bool allowReverseSelection = true,
- bool isTile = false,
Implementation
const RadioGroup({
Key? key,
required this.items,
this.orientation = RadioArrange.horizontal,
this.checkIcon = Icons.radio_button_on,
this.uncheckIcon = Icons.radio_button_off,
this.selectIconColor = const Color(0xffEEEBD7),
this.unSelectIconColor = const Color(0xffEEEBD7),
this.iconSize = 20,
this.textColor = const Color(0xff333333),
this.textSize = 12,
this.textPadding = const EdgeInsets.only(left: 6),
this.itemPadding = EdgeInsets.zero,
this.changeCall,
this.style = AlignStyle.wrap,
this.width,
this.tag,
this.allowReverseSelection = true,
this.isTile = false,
}) : super(key: key);