Flutter-Neumorphic
Flutter-Neumorphic copied to clipboard
How to add a default global fontFamily in neumorphicApp?
The same question. Seems like you forgot the fontFamily parameter. We use non-Google fonts, so we can't use google_fonts utility.
Hey @fonkamloic, I found a way.
You can use materialTheme parameter with a standard Flutter Material theme, where you can define your fontFamily.
When grab this parameter with Theme.of(context) to set your font in your Neumorphic widgets.