selected method Null safety

Widget selected()

Implementation

Widget selected() {
  return SlidingTab(isSelected: true, label: label, icon: icon);
}