skip to Main Content

Error: Type 'FontFeature' not found. Flutter google_fonts package error

When using the latest version of google_fonts (6.2.0) package in flutter project, I'm facing this 'Type FontFeature not found' issue: /C:/Users/Dell/AppData/Local/Pub/Cache/hosted/pub.dev/google_fonts-6.2.0/lib/src/google_fonts_base.dart:69:8: Error: 'FontFeature' isn't a type. List<FontFeature>? fontFeatures, ^^^^^^^^^^^ Target kernel_snapshot failed: Exception FAILURE: Build failed with an exception. *…

VIEW QUESTION

How to solve in flutter fonts_asset_mainfest?

Error: Couldn't resolve the package 'google_fonts' in 'package:google_fonts/src/asset_manifest.dart'. /C:/src/flutter/packages/flutter/lib/src/services/asset_manifest.dart:7:8: Error: Not found: 'package:google_fonts/src/asset_manifest.dart' import 'package:google_fonts/src/asset_manifest.dart' as google_fonts_asset_manifest; ^ Unhandled exception: Null check operator used on a null value #0 IncrementalJavaScriptBundler.compile (package:frontend_server/src/javascript_bundle.dart:227:69) #1 FrontendCompiler.writeJavaScriptBundle (package:frontend_server/frontend_server.dart:778:46) <asynchronous suspension> #2 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:641:9) <asynchronous…

VIEW QUESTION

Failed to decode downloaded font, but using correct CSS Font Face – Shopify

I am using the following code to import the google Font "Syncopate" into my shopify site: @font-face { font-family: 'Syncopate'; font-weight: 400; font-style: normal; src: url('//cdn.shopify.com/s/files/1/0633/5778/0153/t/2/assets/Syncopate-Regular.eot'); /* IE9 Compat Modes */ src: url('//cdn.shopify.com/s/files/1/0633/5778/0153/t/2/assets/Syncopate-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('//cdn.shopify.com/s/files/1/0633/5778/0153/t/2/assets/Syncopate-Regular.woff2') format('woff2'), /*…

VIEW QUESTION
Back To Top
Search