I defined my theme like this
ThemeData(
fontFamily: 'Poppins',
textTheme: const TextTheme(
bodySmall: TextStyle(
fontSize: 12,
fontWeight: FontWeight.w400,
),
labelSmall: TextStyle(
fontSize: 12,
fontWeight: FontWeight.w400,
),
),
)
bodySmall and labelSmall are equal.
Yet a Text with bodySmall and labelSmall display 2 different things. bodySmall text style behaves as expected but labelSmall does not use the right font family.

Full reproducible example
main.dart
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
fontFamily: 'Poppins',
textTheme: const TextTheme(
bodySmall: TextStyle(
fontSize: 12,
fontWeight: FontWeight.w400,
),
labelSmall: TextStyle(
fontSize: 12,
fontWeight: FontWeight.w400,
),
),
),
home: Scaffold(
appBar: AppBar(
title: const Text('Font problem'),
),
body: Builder(
builder: (builderContext) {
return Center(
child: Column(
children: [
Text(
'Body small',
style: Theme.of(builderContext).textTheme.bodySmall,
),
Text(
'Label small',
style: Theme.of(builderContext).textTheme.labelSmall,
),
],
),
);
},
),
),
);
}
}
pubspec.yaml
name: issues
description: A new Flutter project.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: '>=2.19.2 <3.0.0'
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
flutter:
uses-material-design: true
fonts:
- family: Poppins
fonts:
- asset: assets/fonts/Poppins-Regular.ttf
- asset: assets/fonts/Poppins-Light.ttf
weight: 300
- asset: assets/fonts/Poppins-Medium.ttf
weight: 500
- asset: assets/fonts/Poppins-SemiBold.ttf
weight: 600
- asset: assets/fonts/Poppins-Bold.ttf
weight: 700
- asset: assets/fonts/Poppins-ExtraBold.ttf
weight: 900
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.8, on macOS 13.2 22D49 darwin-arm64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.74.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
• No issues found!
I defined my theme like this
bodySmallandlabelSmallare equal.Yet a
TextwithbodySmallandlabelSmalldisplay 2 different things.bodySmalltext style behaves as expected butlabelSmalldoes not use the right font family.Full reproducible example
main.dart
pubspec.yaml
Flutter doctor