tabPagesSch function

dynamic tabPagesSch(
  1. IconData icon,
  2. String? label, {
  3. TextStyle? styleLabel,
  4. Color? colorIcons,
})

Implementation

tabPagesSch(
  IconData icon,
  String? label, {
  TextStyle? styleLabel,
  Color? colorIcons,
}) {
  return Tab(
      icon: Icon(icon, color: colorIcons ?? Colors.white),
      child: Text(
        label ?? "",
        style: styleLabel ?? XStyles.xStyTextForDescr(colorIcons ?? Colors.white),
      ));
}