MaterialApp( title: 'Custom Fonts', // Set Raleway as the default app font. theme: ThemeData(fontFamily: 'Raleway'), home: MyHomePage(), );
flutter: fonts: - family: Proxima fonts: - asset: lib/fonts/ProximaNova-Regular.otf In case you are using an emulator, go to the terminal and type "flutter clean" then "flutter pub get" to update the font used.