Text('Example Text', style: GoogleFonts.inter( textStyle: TextStyle( fontSize: 40, color: primaryColor, fontWeight: FontWeight.w700,))MaterialApp( theme: ThemeData( textTheme: GoogleFonts.montserratTextTheme( Theme.of(context).textTheme, ), ), )
Text('Example Text', style: GoogleFonts.inter( textStyle: TextStyle( fontSize: 40, color: primaryColor, fontWeight: FontWeight.w700,))MaterialApp( theme: ThemeData( textTheme: GoogleFonts.montserratTextTheme( Theme.of(context).textTheme, ), ), )