SlidingTab constructor Null safety

const SlidingTab(
  1. {Key? key,
  2. required String label,
  3. IconData? icon,
  4. bool isSelected = false}
)

Implementation

const SlidingTab(
    {Key? key, required this.label, this.icon, this.isSelected = false})
    : super(key: key);