buildCheckButton method
Implementation
Widget buildCheckButton() {
return Container(
width: size.width,
height: size.height,
child:
Row(mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [
Radio(
value: this.value,
groupValue: this.groupValue,
onChanged: (value) {
this.onChanged(value);
},
activeColor: this.color,
toggleable: true,
),
Padding(
padding: EdgeInsets.only(top: 0, left: 5, right: 5, bottom: 0),
child: Text(
text,
textAlign: TextAlign.left,
style: TextStyle(
color: textColor,
fontSize: this.fontSize,
),
)),
]));
}