How do I use custom font with a set size in flutter/dart?
问题 I'm trying to use color , fontWeight and fontFamily with style: style.copyWith , the custom font I'm trying to use is Vonique , I've imported it like so into pubspec.yaml fonts: - family: Vonique fonts: - assets: fonts/Vonique-64-Bold-Italic.ttf - assets: fonts/Vonique-64-Italic.ttf - assets: fonts/Vonique-64-Bold.ttf - assets: fonts/Vonique-64.ttf Is this the correct way to import it? I've tried it both was with '' and without '', still doesn't change the text font. Text('Login', style: