fromNavigationView method

NavigationViewController fromNavigationView(
  1. NavigationView view
)

Implementation

NavigationViewController fromNavigationView(NavigationView view) {
  super.fromView(view);
  currentIndex = view.currentIndex;
  iconSize = view.iconSize;
  iconSizeState = view.iconSizeState;
  iconTint = view.iconTint;
  iconTintState = view.iconTintState;
  iconTheme = view.iconTheme;
  iconThemeState = view.iconThemeState;
  titleColor = view.titleColor;
  titleColorState = view.titleColorState;
  titleSize = view.titleSize;
  titleSizeState = view.titleSizeState;
  titleStyle = view.titleStyle;
  titleStyleState = view.titleStyleState;
  spaceBetween = view.spaceBetween;
  spaceBetweenState = view.spaceBetweenState;
  itemBackground = view.itemBackground;
  itemBackgroundState = view.itemBackgroundState;
  itemMaxWidth = view.itemMaxWidth;
  itemMaxHeight = view.itemMaxHeight;
  itemMinWidth = view.itemMinWidth;
  itemMinHeight = view.itemMinHeight;
  itemMargin = view.itemMargin;
  itemMarginX = view.itemMarginX;
  itemMarginY = view.itemMarginY;
  itemPadding = view.itemPadding;
  itemPaddingX = view.itemPaddingX;
  itemPaddingY = view.itemPaddingY;
  items = view.items;
  onIndexChanged = view.onIndexChanged;
  return this;
}