labelFontFamily property

String? labelFontFamily
final

Optional custom font family for tab bar item labels.

The font must be registered in the app's Info.plist (iOS) or as a Flutter font asset. When null, the system default tab bar label font is used.

Example:

CNTabBar(
  items: [...],
  currentIndex: _index,
  onTap: (i) => setState(() => _index = i),
  labelFontFamily: 'Roboto',
  labelFontSize: 11.0,
)

Implementation

final String? labelFontFamily;