fromRadioGroupView method
Implementation
RadioLayoutController fromRadioGroupView(RadioLayout view) {
super.fromView(view);
/// BASE PROPERTIES
currentIndex = view.initialIndex;
children = view.children;
/// TITLE PROPERTIES
title = view.title;
titleColor = view.titleColor;
titleFontWeight = view.titleFontWeight;
titleSize = view.titleSize;
titleStyle = view.titleStyle;
titleMargin = view.titleMargin;
titlePadding = view.titlePadding;
/// ITEM PROPERTIES
itemRippleColor = view.itemRippleColor;
itemPressedColor = view.itemPressedColor;
itemBackground = view.itemBackground;
itemBackgroundState = view.itemBackgroundState;
itemCornerRadius = view.itemCornerRadius;
itemMargin = view.itemMargin;
itemPadding = view.itemPadding;
itemRadioSelectedColor = view.itemRadioSelectedColor;
itemRadioUnselectedColor = view.itemRadioUnselectedColor;
itemTextColor = view.itemTextColor;
itemTextColorState = view.itemTextColorState;
itemTextSize = view.itemTextSize;
itemTextSizeState = view.itemTextSizeState;
itemTextStyle = view.itemTextStyle;
itemTextStyleState = view.itemTextStyleState;
return this;
}