Search code examples
flutterfontsflutter-layoutflutter-testtypography

Quicksand bold not rendering as expected when bold


As in picture R & A word is... Here are my code as in picture below

 child: Text(
          'RENTAL SUMMARY',
          style: TextStyle(
            fontFamily: 'quicksand',
            color: Colors.black,
            fontWeight: FontWeight.bold,
            fontSize: 20,
          ),
        ),

Solution

  • Please download the quicksand font from Google fonts. Add this to your pubspec yaml and try again. Maybe the ttf you have is corrupted