Using the library
font_awesome_flutter
, we know can find most social media logos. Among them, we got the twitter logo below this line.
FontAwesomeIcons.twitter;
FontAwesomeIcons.twitterSquare;
I forget mentioned these line. After adding anyone, we should do this also run in our terminal
pub clean
And then
pub get update
It should be in Icon()
widget for it to work
...
child: Icon(FontAwesomeIcons.twitter, color: Colors.blue,)
..
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.