color method

String? color(
  1. FoTabComponent tab
)

Implementation

String? color(FoTabComponent tab) => tab.active ? 'white' : tab.labelColor;