const ViewSwitcherData({ this.icon, this.title, this.badge, }) : assert( icon != null || title != null, """Icon and title both can't be null""", );