@@ -41,39 +41,40 @@ class GFRadio<T> extends StatefulWidget {
4141 /// type of [double] which is GFSize ie, small, medium and large and can use any double value
4242 final double size;
4343
44- /// type pf [Color] used to change the checkcolor when the checkbox is active
44+ /// type pf [Color] used to change the checkcolor when the radio button is active
4545 final Color radioColor;
4646
47- /// type of [Color] used to change the backgroundColor of the active checkbox
47+ /// type of [Color] used to change the backgroundColor of the active radio button
4848 final Color activebgColor;
4949
50- /// type of [Color] used to change the backgroundColor of the inactive checkbox
50+ /// type of [Color] used to change the backgroundColor of the inactive radio button
5151 final Color inactivebgColor;
5252
53- /// type of [Color] used to change the border color of the active checkbox
53+ /// type of [Color] used to change the border color of the active radio button
5454 final Color activeBorderColor;
5555
56- /// type of [Color] used to change the border color of the inactive checkbox
56+ /// type of [Color] used to change the border color of the inactive radio button
5757 final Color inactiveBorderColor;
5858
59- /// Called when the user checks or unchecks the checkbox.
59+ /// Called when the user checks or unchecks the radio button
6060 final ValueChanged <T > onChanged;
6161
62- ///type of Widget used to change the checkbox 's active icon
62+ ///type of Widget used to change the radio button 's active icon
6363 final Widget activeIcon;
6464
65- ///type of [Widget] used to change the checkbox 's inactive icon
65+ ///type of [Widget] used to change the radio button 's inactive icon
6666 final Widget inactiveIcon;
6767
68- /// type of [Color] used to change the background color of the custom active checkbox only
68+ /// type of [Color] used to change the background color of the custom active radio button only
6969 final Color custombgColor;
7070
71- /// {@macro flutter.widgets.Focus.focusNode}
72- final FocusNode focusNode;
73-
74- /// {@macro flutter.widgets.Focus.autofocus}
71+ /// on true state this widget will be selected as the initial focus
72+ /// when no other node in its scope is currently focused
7573 final bool autofocus;
7674
75+ /// an optional focus node to use as the focus node for this widget.
76+ final FocusNode focusNode;
77+
7778 /// The value represented by this radio button.
7879 final T value;
7980
0 commit comments